Post edited 11:20 – 19/04/2012 by aexon
Post edited 15:29 – 19/04/2012 by aexon
I have the filterToolbar enabled and my grid (loadonce: true) has checkboxes (not via multiselect option, but manually added with html) rendered in one column. The basic idea is, that the user locally filters to see just a subset of a huge result. Then he/she selects some of the rows by clicking the checkboxes. Then he/she filters again resulting in another subset of the result and selecting more elements and so on. Then he/she can sumbit the grid to send selected values to the server.
The problem I am faced with is that everytime the user interacts with the filter elements (searchOnEnter: false, and there is a custom button that triggers clearToolbar), the whole grid gets reloaded by reloadGrid resulting in all checkboxes beeing deselected. This happens in triggerToolbar and clearToolbar of jqGrid.
I migrated from 3.6.2 to 4.2.0 some time ago and with 3.6.2 multiselect was not an option for me that time as there was too much JS stuff going on, which was not compatible with the way we needed to configure jqGrid. But maybe NOW this is another option?!
My version of jqGrid is 4.2.0.
Thanks in advance
Edit: The same happens on (local) sorting the data.
Edit2: Just for testing I enabled the multiselect option as well and checked checkboxes loose their status on filtering (local, server side not tested) and sorting. Is this a feature?