FixedColumns & fnSetColumnVis (datatables 1.9.3)

FixedColumns & fnSetColumnVis (datatables 1.9.3)

JimmiJimmi Posts: 6Questions: 0Answers: 0
edited September 2012 in General
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.

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    I'd suggest firstly trying the very latest code (i.e. the nightlies from the downloads page) if you haven't already, and secondly posting a link to your page so we can take a look at the problem.

    Allan
  • JimmiJimmi Posts: 6Questions: 0Answers: 0
    edited October 2012
    Ok, here is a link to my code.
    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?
This discussion has been closed.