Remove the associated files after deleting a row

Two ways to achieve this

1. Use two events that one first calls "jqGridAddEditBeforeSubmit" to save the file id, and then "jqGridAfterDelRow" to 

- OR -

2. Disabled Delete on phpGrid, and add an extra Column with "Delete" Icon (add_column) – when clicked on that I call JS Function with AJAX Call to Backend which does all the Deletes, also Deletes DB entry …finally reload the grid

Happy Coding!

Feedback and Knowledge Base