Using ajax.reload(null, false) with scroller and server side.

Using ajax.reload(null, false) with scroller and server side.

smoticssmotics Posts: 2Questions: 2Answers: 0

Hello. I'm using DataTables last version, and when I use the the API ajax.reload(null, false) (to not reset paging) as you show on the api example page, the table redraw two times and the scroll of the table goes to the top.
Example: I scroll the table one time, and the if I reload the page, the StateSave, save the table scroll, that's ok, but if I scroll the table one time and than for example I edit a row and than call ajax.reload(null, false), the table reload two times, and on the second reload I lost the scroll position, and the table scroll goes to the top.
Thank you.

Answers

  • Ruslan.OsmanovRuslan.Osmanov Posts: 2Questions: 0Answers: 0
    edited August 2016

    I'm having the same issue with Scroller 1.4.2, DataTables 1.10.12.

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Can you link to a test page showing the issue please?

    Thanks,
    Allan

  • Ruslan.OsmanovRuslan.Osmanov Posts: 2Questions: 0Answers: 0

    @allan I have decided to get rid of Scroller. It looks like I don't need it with the server-side processing.

    Thanks.

This discussion has been closed.