Using scroller with state saving

Using scroller with state saving

smoticssmotics Posts: 2Questions: 2Answers: 0

Hello. Already congratulations on the new version of DataTables. When I'm using the Scroller with StateSave, I'm stumbling upon a problem, when I refresh the page, and come back to the table, the lines do not show up until I make a scroll.I have also noticed that in your example http://datatables.net/extensions/scroller/examples/initialisation/state_saving.html, exactly the same happens.
Thank you

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    Answer ✓

    Thanks - I'll try to take a look into this later today and post back!

    Allan

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    edited September 2015 Answer ✓

    Hi,

    I found a bug in Scroller whereby it would reset the paging when it completes its initialisation and hence the problem you were seeing. I've just committed a fix and the nightly version is up-to-date.

    edit I should note that the nature of this bug is such that when you refresh the page after installed the fix, you would need to scroll the table and then refresh again before you see the fix. Simply refreshing the page alone will not show the fix.

    Regards,
    Allan

This discussion has been closed.