Hi, I have an Enhanced Grid with the Indirect Selecion plugin, so the users can select and deselect rows with checkboxes. My question is, is there a way I can make the grid to sort on the selection?
In the image above I can sort on the column "crash ID". But is there a way I can click on the header (i.e. where the red question mark is) so that I can sort by checkboxes/selections?
My grid creation code is as follows:
One way I can think of is create another column called "sorted", which can only be yes/true or no/false. This is a dynamic column, so when user checks a checkbox, this column will be immediately updated. Users can then sort on this column.
However I'd prefer something out-of-box and this introduces an extra column which can be strange for the users.