ColVis restore button with state saving

ColVis restore button with state saving

richardprichardp Posts: 10Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
When using ColVis with DataTable's state saving and loading, the restore button only restores the saved state's column visibility and not the actual original visibility. I assume this is because the state is loaded and applied before ColVis is initialised. How easy would it be to keep both the original visibility and the saved state's visibility so I can add a second button that restores the default columns?

(Using DataTables 1.9.1 and a customised ColVis based on 1.0.7)

Replies

  • hozthozt Posts: 45Questions: 0Answers: 0
    I was wondering this myself today, as a client got confused by the restore function, I might delete the ColVis settings from the state info, if I can't manage to that.

    Keep me update if you find a way, don't have the time right now.
This discussion has been closed.