Is there a way to toggle the colVisGroup button?
Is there a way to toggle the colVisGroup button?
gwiqu
Posts: 8Questions: 4Answers: 1
All the examples I've seen of the ColVisGroup button shows creating two buttons, one to hide the columns and a second to reshow them. Is there a way to have a single button that toggles back and forth between hiding and showing the selected columns?
i saw that it was answered in another thread with an answer using a custom button but the link is now dead and so i ave no idea how the guy did it
Answers
i found out how to toggle a group of buttons, use 'columnVisibility' from the colvis js by extending it