Changes to 'visible' property of a column are ignored
Changes to 'visible' property of a column are ignored

This seems odd to me. If I specify a table with 3 columns and make all of them visible, they all show. if I then update the HTML to indicate that two of the columns are NOT visible and refresh the browser, those changes do not take effect. It's almost like DataTables is caching the column definitions and not reading them each time the page is reloaded.
My whole purpose is to make my table customizable where the user can specify which columns they want to see and in which order (think SharePoint list). When they load the DataTables page, I make a non-cached AJAX call to get the column definitions as JSON and pass them to my DataTable columns. This works fine until I make one or more of the columns non visible at which point it ignores the updated column definitions coming from AJAX.
Any ideas please let me know. Thanks for your help.
Answers
How, specifically, are you trying to make the columns invisible?
Are you using
columns.visible
?Maybe you can provide a simple test case showing what you are doing.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
I finally got this working. I reverted back to a basic Datatable (removing several options) and it started working. Not sure exactly what the issue was.