here as you can see i have seted the table for listing the audits and i want to trigger the flow when i click the next page and in that time i also wanted to increase the page number and trigger the flow how can i do that like where can i link the flow for triggering it when click the next and prev page
which is the best component for setting up the filter options (startTime , endTime , operation) ??
You will have to use backend paginations, am assuming you are already sending the limit or size and the page if you are using backend pagination. Then when you click next you will need to keep increment the page and decrement it when previous is clicked. You will also need to know the total count of your documents from your database so that you won’t keep increment page when the are no documents available
yeah i have done the backend logic my doubt is that how can i trigger a flow while clicking the next and prev in the pagination page and also how can i increase and decrease the current page number ?? i have setted the limit in the env and made the page number as 1 initially and how can i do the these parts?
You have a page event right on the pagination which is triggered when next and previous are clicked.
You can call a function on that, then pass $event, On the function the passed $event will be an object that contains alot of things and you will find pageIndex aswell.
pageIndex you could use to identify whether you need to increment or decrement.