SearchPanes and stateSave disables pane column show
SearchPanes and stateSave disables pane column show
Link to test case: http://live.datatables.net/foxomuxe/1/edit?html,css,js,console,output
Description of problem:
setting stateSave = true, will ignore the enabled pane colum (column being shown for filtering),
eg. with stateSave = true it will show colum 0 only, instead of showing 0 and 4 (targets: [0,4]), when stateSave = false or line is commented it works as expected showing col 0 and 4.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @xepo,
This is because SearchPanes is still reloading your previous state. If you change your config and want it to start from scratch you should run
state.clear(). To clear the state again.Thanks,
Sandy