Reset table page to first page after applying filter search

Hi guys, recently I have some issue here:

So for example if I search by activado "active", and move to 2nd page of the table then I change the search by activado "inactive, it will reload and get the 2nd page of the table instead of go back to 1st page.

How to fix this?

Hey teftanma!

Perhaps you can use:

tableName.selectPage(0)

or configure event handler:

Does this work for you?

Yes, it worked! Thanks a lot.