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?
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!