Ajax Call that filters data need to update Pagination page #'s

I have a page that show a user a table and a text box where they can enter a filter term to filter down the records. When the page is first shown it shows all of the data, but when I filter the data, I want to update the page numbers to reflect the current filtered data but it is still showing the previous and next buttons as if the data has not been filtered. How do I update the the page numbers?

image

How do I do this?

If you load table with data via ajax , include in same view paginator links and load them along with table.

1 Like

Yep thank you that did the trick