Scroller does not observe displayStart
Scroller does not observe displayStart

There is an issue with the interaction between Scroller and the displayStart option. The following example shows this in action.
http://live.datatables.net/banimosa/1/edit
The correct records will be loaded, but the Scroller does not modify its initial scroll position to reflect this leaving an empty viewport into the table.
I have also attached a simple patch that remedies this by propogating the displayStart value to the Scroller's 'topRowFloat' value on construct, allowing the scroll position to initialise to the correct position.
This question has an accepted answers - jump to answer
Answers
Thanks for the patch! I'll get this sorted out for the next release of Scroller.
Allan
Looks like this is still an issue in Scroller 2.0.0
The Scoller StateSave example is broken: https://datatables.net/extensions/scroller/examples/initialisation/state_saving
Just scroll to the bottom and then refresh the page to demonstrate
Hi @treysta ,
Agreed, there's a problem there, but that's a different issue to this thread which is discussing
displayStart
. There is an internal bug already opened to addressstateSave
(DD-874 for my reference), and I'll report back here when progressed.Cheers,
Colin
Hi @treysta ,
See this thread for an update,
Cheers,
Colin