Stuck in Pagination Logic

Hey guys,

This should be a easy one if you smarter than me.

I have a pagination for a Repeating Group. List of Numbers from Toolbox is ok, everything OK.

The Repeating Group Pagination is showing a text of “current cell number” and I have a Custom State changing the value to make the current page Blue. So far so good.

image

I have 7 pages.
But lets say that I want to limit the COLUMNS to 3 numbers only (user will see pages 1, 2 and 3) and when the user click the ARROW to the RIGHT, user will see pages 4, 5 and 6. But the way that I setup, user will see numbers 1, 2 and 3 (because of the “current cell number”) . I need another custom state, right?

Any ideas?

I make mine as groups, not a repeating group. I put a number as the data type and set the numbers as datasource conditionally based on how many total pages there are and what the current page is.

Screen Shot 2024-07-25 at 1.34.53 AM

This topic was automatically closed after 70 days. New replies are no longer allowed.