"bVisible": false ignored after using FixedColumns
"bVisible": false ignored after using FixedColumns
adrianBitsiren
Posts: 3Questions: 0Answers: 0
We're developing a rather large and complex table based on DataTables. There is too much information in the table and we have no choice but to use a x-scroll. To make the data more meaningful to the user, we wanted to use the FixedColumns extra.
All is fine, but the fact that a column that we're hiding with "bVisible": false in aoColumns is visible after FixedColumns is called like this:
[code] "fnInitComplete": function () {
new FixedColumns( oTable, {
"iLeftColumns": 5,
"iLeftWidth": 300
} );[/code]
The aoColumns code in question is:
[code] { "mDataProp": "id", "bSearchable": false, "bVisible": false, "bSortable": false },[/code]
We can actually see that the column is hidden in the beginning, but as soon as the the columns are frozen, it reappears.
I've uploaded the table through the debugger: ozolut
Any idea why that is and how we can work around it?
Thank you.
a.
All is fine, but the fact that a column that we're hiding with "bVisible": false in aoColumns is visible after FixedColumns is called like this:
[code] "fnInitComplete": function () {
new FixedColumns( oTable, {
"iLeftColumns": 5,
"iLeftWidth": 300
} );[/code]
The aoColumns code in question is:
[code] { "mDataProp": "id", "bSearchable": false, "bVisible": false, "bSortable": false },[/code]
We can actually see that the column is hidden in the beginning, but as soon as the the columns are frozen, it reappears.
I've uploaded the table through the debugger: ozolut
Any idea why that is and how we can work around it?
Thank you.
a.
This discussion has been closed.