[SOLVED] Initial hidden columns with ColVis?
[SOLVED] Initial hidden columns with ColVis?
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
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.