Change ColVis.aiExclude after initialization.
Change ColVis.aiExclude after initialization.
Hello,
We have a table that displays different amounts of columns depending on another selection parameter. As a result, we initialize dataTables with a aoColumns of the max size we would need and then hide the columns that are unused. We are using colVis to allow the user to hide or show the used columns, but would like to remove the unused columns from the hide/show dropdown by using aiExclude.
Is it possible to alter aiExclude after the dataTable has been initialized?
Where are the colVis settings stored if not in oSettings?
Thanks!
We have a table that displays different amounts of columns depending on another selection parameter. As a result, we initialize dataTables with a aoColumns of the max size we would need and then hide the columns that are unused. We are using colVis to allow the user to hide or show the used columns, but would like to remove the unused columns from the hide/show dropdown by using aiExclude.
Is it possible to alter aiExclude after the dataTable has been initialized?
Where are the colVis settings stored if not in oSettings?
Thanks!
This discussion has been closed.
Replies
Allan