Is there an option to trigger both the filter and pagination flow together?
@Sam @Simphiwe @
Hi @harijp17,
Do you have it as different flows ??
Yes, the paginator component triggers the pagination flow and the form triggers the filter flow. Is there an option to trigger both together and submit the filter and pagination values at the same time?
@Sam
Hi @harijp17,
You can trigger both, like you can call your filter function to your pagination flow or vice vesa.
Not sure if that answers your question if not you can provide more information with screenshots,
You are doing server pagination right, please see the link below that should assist you with that.
In my current setup, the pagination and filter are separate flows. When I apply a filter and then change the page, the pagination refreshes without preserving the filter, so the API call is made without the filter applied. Is there a way to trigger both the pagination and filter together, passing their values at the same time?
@Simphiwe @Sam
Hi @harijp17,
It won’t preserve the filter because pagination runs after right, so it re-assign on the variable that holds the responses.
QQ: Why does your filter calls the same api that is called by pagination aswell, are you getting new data from the database ??
I think you don’t need to call the API when you filter because pagination has already called it, you can use the pagination response and filter that unless if the something am missing.




