Thanks for all your posts and build with bubble site which have saved me hours and headaches! But couldn’t find solution to my problem below.
Here is my situation… I’m having a fixed number of cells repeating group - with 10 rows and have 11 records.
However, when I click on the next icon, rather than go to the next page and show only 1 record as I would expect, it’s showing 10 rows. It seems to be bumping up the entire RG rather than go to the next page. In other words, the record that was previously 1 disappears, and the record that was 2 is now 1. Maybe this is the expected behavior…
That being said, is it possible to show the next page of records rather than just increment the records by 1? So that if I have 11 records, page 1 shows 10 records, then click on the next icon, it goes to page 2 and shows the 11th record on its own.
Hi there I got the same problem before
Take a look at the topic linked below.
You have to use custom states to calculate the RG record number to start on of each pagination page and the number of records to should on each pagination page. Than you can filter the list show items from start until end of each page.
Thanks for the quick response.
I have gone through the link which you have pasted above.
But I didn’t understand the where to use custom state function.
If possible can you share you editor access or some images of that…
I’m sorry @FJP,
it is not clear to me the Trigger Custom Event “calculate current page start”.
How and when is it used?
Do you have this example in an editor, or could you take a screenshot of the workflow, please?
Thanks
@eraldolattari and @partners
The calculate current page start is triggered on any event, so this means on:
Page load
click next
click prev
click on a specific page number
What it does is to determine from what record the data list should be shown.
For example having each page containing 5 records of the entire dataset.
On page 1 you want the list to start with the record 1 to 5.
So current page start = (1-1)*5+1 = 1
On page 2 you want to show only record 6-10
So current page start = (2-1)*5+1 = 6
And so on…