Hi Abu Ghufran,
I'm using the upload file grid. When you delete the entire row, the image is also removed from the folder. But when you click the edit from the toolbar, and press delete to delete the image, only the link is deleted from table and the image file is still in the folder.
Is there anyway to delete the image from the folder when using edit options.
Your kind answer will be highly appreciated.
You need to connect on_update event handler, fetch the old path using the passed row ID and remove file from FS.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?