Skip to content

Trigger another php file via AJAX after delete?

Problem:


After I select a row and click at the Delete icon (Trashcan icon); phpGrid presents a Delete confirmation dialog box (with to either delete or cancel button); I want to confirm Delete by pressing the Delete button - AND - trigger another php file via AJAX to do more clean
up/verification.

Solution:


What you need is  "jqGridAfterDelRow". The function signature is simple:
eventObject, rowId. 

You can also use "jqGridAddEditAfterComplete", the signature is
eventObject, status, postdata

Use the custom event handler as a guide.

Hope this help!

Feedback and Knowledge Base