SearchPanes and stateSave disables pane column show
SearchPanes and stateSave disables pane column show
![xepo](https://secure.gravatar.com/avatar/859c14e9c0319bdc69a9caeb86af33da/?default=https%3A%2F%2Fvanillicon.com%2F859c14e9c0319bdc69a9caeb86af33da_200.png&rating=g&size=120)
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