Hello.
How can I dynamically show/hide columns and get the ColVis popupmenu to keep in sync with this?
The example code (for "rebuild") here: http://www.datatables.net/extensions/colvis/api seems not to work.
(1) "TypeError: table.fnSetColumnVis is not a function"
If I instead call table.column(2).visible(false); the column gets hidden as expected.
However when the user clicks the colVis button, all the checkboxes are ticked (the one for column 2 should be unchecked since it was just hidden). Seems "fnRebuild" isnt working?
(2) "TypeError: oTable.fnSettings is not a function" // line 880 " nTable = oTable.fnSettings().nTable;"