Multiselect

QuestionsMultiselect
Alexander Toth asked 6 years ago

I’ve a page with two grids (master and detail). The master grid has a multiselect and bulk edit options. By default, every time I click on a row to refresh the detail grid, the corresponding multiselect checkbox will be checked. This is very annoying, because I want to click in the row only to refresh the detail grid an not to make a multiple selection. There is some code to avoid this? I want the multiselect checkbox checked ONLY when I click on the checkbox itself, NOT every time I click in the row. Thanks

1 Answers
Abu Ghufran Staff answered 6 years ago

Hi,

You can set:

$opt[“multiboxonly”] = true;

$grid->set_options($opt);

It will only multi-select when selecting by checkbox. Otherwise it will keep single row selection at a time and reset last.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

12 + 7 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?