Data Table setPage() not working

Hi, I'm trying to reset my data table to page 1 when the users specifies a new filter (server-side-pagination).

When I trigger a JS function that calls setPage() on my data table, it does not change the current page of the table. See below:

Hi @Matt_Arnold_Form, welcome to the forum! :wave:

Behind the scenes, page 1 for the component is page 0 in the state.

Just update ".setPage" in your JS query to 0 instead of 1. :slightly_smiling_face: