Datatable goes back to page 1 after ajax reload
Datatable goes back to page 1 after ajax reload
Opeyemi
Posts: 2Questions: 1Answers: 0
Hello there!
I call $('#myTable').DataTable().ajax.reload(); after I perform update on table, the datatable keeps on going to Page 1 after that call.
Is it possible to have it stay on that same page where the record was updated? Please help.
This question has an accepted answers - jump to answer
Answers
Just read the docs please:
https://datatables.net/reference/api/ajax.reload()
@rf1234 Million thanks. That was awesome. I appreciate