FixedColumns & fnSetColumnVis (datatables 1.9.3)
FixedColumns & fnSetColumnVis (datatables 1.9.3)
Hi!
Im having a table width 20-30 columns.
The two first columns are fixed.
I set the aoColumns width upon init and have bAutoWidth set to false.
But when I change the visibility state of some columns, with the oTable.fnSetColumnVis() function the width of the columns gets re-calculated and some columns gets off-sync with the fixedColumns.
If i could get some support on this issue it would be wonderful, ive been trying to fix this for a couple of hours now with no success yet.
Im having a table width 20-30 columns.
The two first columns are fixed.
I set the aoColumns width upon init and have bAutoWidth set to false.
But when I change the visibility state of some columns, with the oTable.fnSetColumnVis() function the width of the columns gets re-calculated and some columns gets off-sync with the fixedColumns.
If i could get some support on this issue it would be wonderful, ive been trying to fix this for a couple of hours now with no success yet.
This discussion has been closed.
Replies
Allan
whatever im trying the cols dosent get a fixed size. if i try to deselect some columns and redraw the table the cols are given a new size.
can u please have a look?