Columns in table head are sometimes not adjusted with columns in body when using FixedColums

Columns in table head are sometimes not adjusted with columns in body when using FixedColums

protasovamsprotasovams Posts: 11Questions: 2Answers: 0
edited October 2013 in Plug-ins
Hi.

I use FixedColumns and I've got an issue with adjusting columns in head and body of a table.
It seems that if text in a cell of a fixed column occupies more lines, than text in all cells of the same row in not fixed columns, then the body of the table scrolls more to the right than the head.

Here are exmples:
1) Everything is ok:
http://jsfiddle.net/nKduj/2/
2) The same table but we placed a long text in the first cell of the fixed column, and now the body scrolls more to the right, than the header:
http://jsfiddle.net/nKduj/1/

Replies

  • protasovamsprotasovams Posts: 11Questions: 2Answers: 0
    Is there no fix for this?
  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Its a bug in DataTables 1.9.4. If you use the 1.10 dev version it will work okay: https://github.com/DataTables/DataTables/tree/1_10_wip

    Allan
  • protasovamsprotasovams Posts: 11Questions: 2Answers: 0
    Thanks a lot, I'll try it!
This discussion has been closed.