DataTables and FixedColumns - How to have a scroll bar x only on the div scrollable ?

DataTables and FixedColumns - How to have a scroll bar x only on the div scrollable ?

GenzoGenzo Posts: 1Questions: 1Answers: 0

Hi all,
i'm trying to use together datatables and FixedColumns.
I've a little problem, i need to create a table with a horizontal scrollbar but this scrollbar is necessary only on the div scrollable and not on all div.
How can i obtain that result ?
Any ideas?

Tnx a lot.

Genzo

Answers

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin

    Interestingly enough, that is how FixedColumns used to work. It was retooled for the v3 release to have it scroll over the whole area, as it was felt to be a better interaction that way. I'd say, generally that has been agreed, based on the feedback I've received, but there have been a few cases, such as your own, where the old style is requested.

    Unfortunately they can't exist together without a significant amount of code being added, so the only way to use that style of scrolling would be to use an old version: http://cdn.datatables.net/fixedcolumns/2.0.3/ for example. I would point out that the old versions are no longer supported and haven't been tested for compatibility with DataTables 1.10.

    Allan

This discussion has been closed.