Using the Grid, i can set up some events for user operations like:
-$e["on_insert"] = array("prac_add_student", null, true);
-$e["on_update"] = array("prac_update_student", null, true);
-$e["on_delete"] = array("prac_delete_student", null, true);
When i have a custom delete function the delete operation happens whatever i have in the custom delete function.
The requirement is to change a flag in database field from 0 as existing to 1 as deleted and not delete the record when delete icon is pressed.
Can this be done?
Thanks
1 Answers
Your Answer