adjust() is not working

adjust() is not working

calaverocalavero Posts: 5Questions: 3Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: hello, i have horizontal scroll enabled and my headers are fixed, however i found adjust() function is the solution because when i run the script "table.columns.adjust()" on browser console it fixes my headers. however when i put that under my table initializer it doesnt work and pycharm doesnt recognize adjust() as a function. i tried different versions of datatables but didnt work either. it works from browser console but not in my script.what should i do?

Answers

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

    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

Sign In or Register to comment.