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
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.
Your Answer