How to hide all columns using buttons API ColVis
How to hide all columns using buttons API ColVis
aCoradatatbl
Posts: 16Questions: 7Answers: 0
Hello,
I have colVis working and have managed to postfix a new button to the 'restoreVisibilty' button - i want my new button to hide all columns. The reason for this is my clients datatable has over 30 columns and hiding them individually is a real pain so he wants to be able to turn All off then simply select the ones he wants to make visible.. What code do i need to attach to the new button function to achieve this??
Many thanks in advance ...
This discussion has been closed.
Answers
[ SOLVED ] FOUND SOLUTION.