Issue with DT 1.13, responsive, and complex headers

Issue with DT 1.13, responsive, and complex headers

sesplersespler Posts: 23Questions: 11Answers: 0

Link to test case: https://live.datatables.net/tevopaki/2/edit

I'm having some issues with making a table with a complex header responsive. The table has some column headers that span both rows, and then some that are single rowspans. The issues arises when I try to shrink the size of the page, thus prompting the responsive functionality.
The column headers that span both rows disappear fine, but the column headers that have two single span headers stacked do not. Either the bottom disappears and the top remains, or the top disappears and the bottom remains, depending on whether or not I use OrderCellsTop: true.

Is this a bug, or just a limitation of DataTables 1.x, or am I missing something?

I do acknowledge that this is a very old version of DT/responsive and that may just be the cause of this.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 65,162Questions: 1Answers: 10,796 Site admin
    edited 3:00PM Answer ✓

    a limitation of DataTables 1.x

    This one.

    Support for complex headers was significantly improved in v2, with a proper API for it, so extensions such as Responsive could work with them.

    You'd need to update if you want that particular feature.

    Allan

Sign In or Register to comment.