Does ajax reload reset paging work with server-side?

Does ajax reload reset paging work with server-side?

phlpphlp Posts: 3Questions: 1Answers: 0
edited July 2018 in Editor

https://datatables.net/reference/api/ajax.reload()

I've been trying to use ajax reload with the the reset paging set to false for a server-side loaded table and the pagination gets reset to the first page on each call.

Is there a way to get this working with a server-side table?

Using Editor 1.7.2 for PHP

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    edited July 2018

    Hi @phlp ,

    As shown in this example, the resetPaging option for ajax.reload() determines if the paging is reset. Hope that helps,

    Cheers,

    Colin

  • phlpphlp Posts: 3Questions: 1Answers: 0

    Thanks Colin, certainly appears to be working in your example. Will try to figure out why it is not working in mine.

This discussion has been closed.