Problems with st_aggrid


I’m having problems with st_aggrid. Im running locally, community cloud and azure, and getting same problem.

I have a table using aggrid. I have enabled pagination.
My problem comes when the user filters in a coloumn, and for example gets 5 rows shown.
When the user filters again, and gets 10 rows, it is shown as 5 rows in page 1 and 5 rows in page 2. I want it to be 10 rows in page 1.

It seems to remember that is shown the user 5 rows. But I want it to show 10 rows in 1 page