[SOLVED] Initial hidden columns with ColVis?

[SOLVED] Initial hidden columns with ColVis?

CraigTYWCraigTYW Posts: 1Questions: 0Answers: 0
edited August 2011 in Plug-ins
Hi, I'm using ColVis and want some columns hidden when the table is first loaded. Is this possible? I tried using aoColumnDefs and bVisible but that doesn't seem to have any effect.

TIA.

Craig

Update: I was able to use fnSetColumnVis to solve the problem, although I'm still curious as to why aoColumnDefs didn't work. If anyone is reading this trying to solve the same problem, fnSetColumnVis is documented here:

http://datatables.net/release-datatables/examples/api/show_hide.html
This discussion has been closed.