The datatable fixed header is not working.

The datatable fixed header is not working.

ibaradoibarado Posts: 1Questions: 1Answers: 0
edited October 2023 in Free community support

I have this in the header

and another this in footer:

Where would you include the CSS and JavaScript scripts to make the fixed header work? And which version would you use?"

Thank you

Answers

  • kthorngrenkthorngren Posts: 19,922Questions: 26Answers: 4,696
    edited October 2023

    Use the Download Builder to get the proper files. Since you are using Bootstrap 3 make sure to select that in the first section. You can bundle together all of the Datatables options you use like buttons, etc. Or if you just want the FixedHeader code you can uncheck Concatenate at the bottom of the page.

    If you are just getting the individual FixedHeader code then place the CSS after the datatables.css includes and place the JS after datatable.js.

    Kevin

Sign In or Register to comment.