Datatable doesn't save state of the hidden columns
Datatable doesn't save state of the hidden columns
tejadong
Posts: 7Questions: 1Answers: 0
Hello, sorry for my English, I'm Spanish...
When I hide the columns of my table and I reload the web page It doesn't work for me however I check on the list where I can check/uncheck the columns that It works fine. It seems to be that when my web is loaded It doesn't work but the check list of column was saved.
Any suggestions?
Thanks you.
This discussion has been closed.
Answers
Sorry, I forgot to paste my code:
I made a test here: http://live.datatables.net/jekupuqo/1/ and work fine... I don't know...
I'm using bootstrap datatable, i think It is the problem...
When I use dataTables.fixedHeader and dataTables.responsive (js and css) the state of columns isn't saved... Is this a bug?
The issue is that you have included Responsive - which is not currently compatible with ColVis since both are trying to control column visibility.
Allan
What can i do then?
There is unfortunately no option to use both at the same time at the moment. You need to decide which you want more...
It is something that I will address in a future update when I am able to do so.
Allan
Ok thank you! your work is great! Cheer up!