Buttons/ColVisGroup Default View on Load
Buttons/ColVisGroup Default View on Load

Hi all,
I've implemented the buttons and grouping of data as shown here:
http://live.datatables.net/yohuluco/1/edit
You can see there are two buttons - points and time. On load of the page, I'm trying to show the points 'view' and am not sure how to do that.
Any help would be great.
Thank you.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Your example doesn't show your buttons. Use
columns.visible
to initially hide the columns you don't want to show on initialization. I updated the Visibility Groups example to show this:http://live.datatables.net/zukajeyu/1/edit
Kevin
Thanks again Kevin, I had the buttons when I copied it over, but I must have missed something. This did the trick, thanks!
Ed