DataTable Checkbox List - How do you sort by checked vs unchecked?
DataTable Checkbox List - How do you sort by checked vs unchecked?
I have a DataTable with the first column as a checkbox. If the users selects multiple rows (by checking the box), I would like the ability for the user to then sort the checkbox column on whether or not the box is checked. In other words, if they checked 3 boxes and click sort on the checkbox column, then it would show the 3 selected results at the top and the rest of the unchecked rows afterwards. If they click sort in the checkbox column again, then the 3 selected rows would be at the bottom of the result set and every other unchecked row would appear first? Hope that's clear...is this possible with DataTables?