Is there a way to scrollCollapse while using the scrollResize plugin?
Is there a way to scrollCollapse while using the scrollResize plugin?
I love how scrollResize works and how it dynamically adapts when you resize the window and the footer is "pinned" to the bottom.
However, when pageLength is set to a low setting (e.g. 10), I'd like is to get the footer right next to the last visible row and eliminate the whitespace between them. And instead have the whitespace between the footer and the bottom of the window.
My understanding of scrollCollapse is that it's supposed to do that, but it seems it can't do so with scrollResize set to true, like so:
http://live.datatables.net/sonaduja/1/edit
Is there a way to get the best of both "scrolling" worlds?
This question has an accepted answers - jump to answer
Answers
Currently no - sorry. Scroll resize sets the height to a specific value.
Perhaps we could treat that as a min-height, but at the moment it is just a given number of pixels.
Allan