Extend the dt height depending on page length to prevent vertical scroll inside
Extend the dt height depending on page length to prevent vertical scroll inside

Hi all,
I want to display all datatable rows in the browser window, so that the user can vertically scroll in the browser to go through all records instead of inside datatable.
Currently, I set the following option to achieve this:
"scrollY": " "
But I found it sometimes causes datatable header width does not align with its body.
Is there any other proper way to do this?
This blog does what I want exactly,
but how can I make it happen on draw instead of dragging?
This discussion has been closed.
Answers
Hi @molderng ,
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