DataTables Responsive/FixedHeader Integration Issue

DataTables Responsive/FixedHeader Integration Issue

djubadjuba Posts: 3Questions: 0Answers: 0
edited October 2015 in Free community support

If you go to your Responsive/FixedHeader Integration example page https://datatables.net/extensions/responsive/examples/display-control/fixedHeader.html , when you expand a child row it does not properly reset the location of the bottom of the table. This can be easily seen by expanding multiple rows, then as you scroll down the fixed header will disappear before it reaches the end of the table.

Keep up the good work!

Replies

  • djubadjuba Posts: 3Questions: 0Answers: 0

    dt.fixedHeader.adjust() can be added to Responsive._detailsInit() at the end of the .on('click') call to fix this issue.

  • djubadjuba Posts: 3Questions: 0Answers: 0

    There is a second issue where if you start with a collapsed table with some expanded rows, then expand the window so that the table is no longer collapsed, the fixedHeader will stay visible beyond the end of the table.

    dt.fixedHeader.adjust(); can be added to the end of Responsive._detailsVis() to fix this issue.

This discussion has been closed.