DataTable ajax refresh to same page

DataTable ajax refresh to same page

ak11ak11 Posts: 14Questions: 6Answers: 0

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,

Answers

  • kthorngrenkthorngren Posts: 20,292Questions: 26Answers: 4,768

    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

This discussion has been closed.