Duplicate Headers when using ScrollX or ScrollY

Duplicate Headers when using ScrollX or ScrollY

xanabobanaxanabobana Posts: 14Questions: 5Answers: 0

Link to test case: https://dev.vmc.w3.uvm.edu/xana/CI4/forest_regen/compare
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: We are upgrading datatables, and moving to version 2.0.8 has caused duplicate headers to show up on the tables using ScrollX and ScrollY. If I remove those, the duplicate header goes away, but then I lose the ability to scroll. How can I keep the ability to scroll and not have the duplicate header?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Looks like you haven't loaded the DataTables CSS (either the default styling, or any of the styling integrations). They all have this CSS to handle what you are seeing.

    Allan

  • xanabobanaxanabobana Posts: 14Questions: 5Answers: 0

    That was it! Thank you!

Sign In or Register to comment.