FixedColumns nightly - scrollbar problem persists

FixedColumns nightly - scrollbar problem persists

sgeppertsgeppert Posts: 3Questions: 0Answers: 0
edited December 2013 in General
I seem to be encountering the same issue described here: https://datatables.net/forums/discussion/comment/49478

I have verified that I am in fact using the nightly build that was linked in the previous thread (2.5.0-dev) along with DataTables 1.9.4 and jquery 2.0.3.

The horizontal scrollbar for the non-locked columns extends under the first, locked column, but the portion under the locked column is not grabbable.

Replies

  • sgeppertsgeppert Posts: 3Questions: 0Answers: 0
    Turns out this is fixed by also using the nightly build of jquery.dataTables.js
  • sgeppertsgeppert Posts: 3Questions: 0Answers: 0
    edited December 2013
    Now that that bit is sorted, my CSS border and padding values seem to cause an undesired double vertical line between the fixed column and the scrollable columns as shown here:

    http://live.datatables.net/uraher/2

    I can't seem to get rid of the double line without removing my styling alltogether.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    > border-collapse: collapse

    That's the issue. With that set, all bets are off as to what the browser is going to do with the column widths! Even simply summing the column widths doesn't always give you the table total, so FixedColumns simply does not work with collapse set. I'm going to make this clear in the documentation for 2.5 and the new stylesheet in DataTables 1.10 will set this explicitly.

    http://live.datatables.net/uraher/3/edit

    Allan
This discussion has been closed.