DataTable ajax refresh to same page
DataTable ajax refresh to same page

Hello,
I have a datatable that has a context menu in which I select to add some data that appears in the column.
Once I do that, save to DB via ajax call and refresh the table, how can I ensure that user gets to the same page number instead of first page?
Thanks,
This discussion has been closed.
Answers
Are you using
ajax.reload()
? If so it has a parameter to control the paging. The docs show an example of retaining the paging. If this doesn't help please provide more specifics of what you are doing.Kevin