keep pagination after ajax reload

keep pagination after ajax reload

secoseco Posts: 17Questions: 6Answers: 0

im using databales 1.10.12 and using save state for server side

when i call ajax reload the search text still shown

$("mytable").DataTable().ajax.reload();

BUT the page that im in is lost and i get to first page !!

Answers

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

    You need to pass false as the second parameter to the function if you want to keep the page. See the ajax.reload() documentation.

    Thanks,
    Allan

This discussion has been closed.