Bulk Edit custom behavior

QuestionsBulk Edit custom behavior
Russ Savage asked 1 year ago

I followed the code in the bulk-edit example. It seems to me that if you use that, then it does what is in the update_data function and does not do its normal bulk edit functionality.

I would like it to first do the normal bulk edit functionality and then do some extra code, is there a setting for that?

1 Answers
Abu Ghufran answered 1 year ago


If you use bulk-edit default option that is set in set_actions: http://prntscr.com/gzqo21
It will show this dialog: http://prntscr.com/gzqnse and there is no need for on_update function callback.
Full code/demo from demos/editing/bulk-edit.php

If you need to perform some custom operation after that, you can use on_after_update callback handler.
e.g. $e["on_after_update"] = array("after_update", null, true);
Refer docs for more: http://www.phpgrid.org/docs/#Grid_Events

Your Answer

18 + 7 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!