Dynamically Hiding Columns from the Hide/Show List
Dynamically Hiding Columns from the Hide/Show List

I have a data table that has already been initialized and I would like to dynamically hide columns from the hide/show list of the table. When initialized, it is easy to set this using the aiExclude setting. But how to I then access my data table and change this setting on the fly?
Thanks in advance.
Shawn
Thanks in advance.
Shawn
This discussion has been closed.
Replies
[code]
var oTable = $('#myTable').dataTable();
var settings = oTable.fnSettings();
settings.aiExclude = [3];
[/code]
Allan