DataTables Refresh on Callback when paging

DataTables Refresh on Callback when paging

vpalhoriesvpalhories Posts: 13Questions: 5Answers: 0

Hello,

I have a DataTable that displays a popup window which allows the user to edit values. When I save the values, I do a callback to refresh the table. This works just fine as long as I'm on page 1. If I'm on any other page, page 1 is re-displayed after the refresh. My code for refresh is the following:

$('#products').DataTable().ajax.reload();

Any words of wisdom? How can I refresh only the page I'm currently on?

Thanks.

--- Val

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.