Fixed Columns - Rows don't line up when the is a lot of text in a fixed cell (Firefox 25.0.1)

Fixed Columns - Rows don't line up when the is a lot of text in a fixed cell (Firefox 25.0.1)

HeathNHeathN Posts: 2Questions: 0Answers: 0
edited November 2013 in Bug reports
When I have a fixed column cell populated with a lot of text the height of the cell is less than the total height with content. This makes the non-fixed columns height too small. (e.g. the actual height is 93px but the height that is given for the cell is 69px). This only happens in Firefox.

Here is my config:
[code]var oTable = jqnc('table.assignReq').dataTable( {
"sScrollY": "600px",
"sScrollX": "100%",
"bScrollCollapse": true,
"bSortable":false,
"bPaginate": false
} );
new FixedColumns(oTable,{
"iLeftWidth": 300,
"iLeftColumns": 2,
"iRightColumns": 1
});
[/code]

I have made sure the table layout is set to fixed (e.g. table-layout: fixed;). I have fixed this for now by lowering the font-size witihin the cells in question, but that is a hack fix at best. I also tried to do dev and nightly builds of both DataTables and FixedColumns but they created more issues then they solved. Is there a Dev branch for FixedColumns on Github somewhere? I could not find one.

Replies

  • allanallan Posts: 61,723Questions: 1Answers: 10,108 Site admin
    Please link to a test case showing the issue.

    FixedColumns dev is here: https://github.com/DataTables/FixedColumns/tree/master/media/js

    Allan
This discussion has been closed.