StateSave without Select Checkboxes
StateSave without Select Checkboxes
Link to test case: http://live.datatables.net/wufifoji/1/edit
Debugger code (debug.datatables.net): N/A
Error messages shown: N/A
Description of problem: When I utilize the stateSave
option with a table that has checkboxes for selection, the state of the check/uncheck all button is stored, even when using the delete
keyword within the saveStateParams
. Is this something that will need to be done in some special way because it uses the checkbox plug-in or am I just using the delete
keyword wrong?
stateSaveParams: function (settings, data) {
delete data.checkboxes;
},
This question has an accepted answers - jump to answer
Answers
I'm not entirely sure what's happening there, but the solution/workaround is to remove the checkboxes on the load, instead of on the save, see updated example here: http://live.datatables.net/wufifoji/2/edit
Colin
Awesome, I'll just use that!