Permanently Hiding a column using ColReorder

Permanently Hiding a column using ColReorder

newtodatatablesnewtodatatables Posts: 31Questions: 0Answers: 0
edited July 2011 in DataTables 1.8
Hi, I am wondering if it is possible to hide a column using ColReorder and do not allow the user the see the hidden column when they click on the tab to unhide columns? I want to refer to some values in the first column without the user being able to see them.

The normal method hides the column but allows the user to unhide it.
[code]
oTable = $('#table').dataTable({

"aoColumns" : [
{"bVisible": false }, //Permanently hide this column
{ sWidth : "50%" },
{ sWidth : "50%" },

],
"sDom": 'C<"clear">lrtip' //do not show first column in the tab
});
[/code]

Replies

This discussion has been closed.