Keep row highlighted after closing out of edit modal

QuestionsKeep row highlighted after closing out of edit modal
Melissa asked 3 weeks ago

Hi. Currently whenever we highlight a row, click on the grid edit icon, make some changes, and click submit, the highlighting is removed from the selected row. Is there any way to keep it highlighted? Thanks.

https://imgur.com/a/ILpWve8

2 Answers
Abu Ghufran Staff answered 3 weeks ago

One option is to disable server reloading. It will show change on grid (via client side working) and keep row selected.

$opt[“add_options”][“reloadAfterSubmit”] = false;
$opt[“edit_options”][“reloadAfterSubmit”] = false;
$g->set_options($opt);

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Melissa answered 3 weeks ago

That’s it. Thanks!!

Your Answer

17 + 16 =

Login with your Social Id:

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:

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

Let us improve this post!