TODAY learn how to bring Drag & Drop to Dash with Dashboard Engine. 🌠 Sign up for the live event!

What's the best way to change page_current of a table?

The dash application does different searches, but there is only one table used to show the result.

Problem:

  1. Search keyword 1, and then navigate several pages, the page_current will not be 0, for example, 5
  2. Search keyword 2, page_current is not reset to 0

I tried to use reset page_current for new research
output(“datatable”, page_current)

But the application does not respond to clicking the “Search” button.

Would you please give some suggestion how to reset page_current for new search?

Thanks

Anyone has the experience? Thanks