Adjustment of the dataTables_scrollHeaderInner class

Adjustment of the dataTables_scrollHeaderInner class

Seth_ThomasSeth_Thomas Posts: 1Questions: 1Answers: 0

I am currently working on an application in which we are using a scrolling JQuery DataTable and side menu that expands and collapses. We noticed that the headers of the DataTable were not adjusting accordingly when the menu was being toggled and found out that the source of the problem was dataTables_scrollHeaderInner was being set to a static width rather than "100%" like other elements in the table. We are now adjusting the width of the class when the menu is toggled and on drawCallback, yet is there a way to manually set the width of dataTables_scrollHeaderInner using JQuery DataTable's built in features?

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @Seth_Thomas ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.