Pagination on Repeating Groups

Hi, is there anyway to have pagination on repeating groups? I dont want the user to have to scroll down the entire page.
Thanks!

Yes, set the repeating group to “Fixed Number of cells”.

And the use next / previous action on a workflow from a back / forward button.

9 Likes

Hi @NigelG,

Thanks for all your posts and buildwithbubble site which have saved me hours and headaches! Also, in case it’s a faux pas to open an old threat I apologize but it seems like the most appropriate thing to do in this case.

Here is my situation… I’m employing a fixed number of cells repeating group - as you mentioned - with 10 rows and have 11 records.

Then, as you suggested, I’m using the next action to show the next page of this RG.

However, when I click on the next icon, rather than go to the next page and show 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.

1 Like

Hi @NigelG

I know is been months but my issue is the same as you were facing.
Did you find any solution to this problem?
If yes, can you please share it with me

1 Like

I was looking for answers on this topic and I came across this old revived post. @wsu.app18, @liran : would this video help?

1 Like

Hi,

Thanks for the seeing the message and commenting on that.
I have gone through this video earlier also…but the video is about page navigation not about the repeating group.
My problem is 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.

Yep, yep. I’ve been further developing this and ran into the same problem. I decided to work on it later. The idea is to replace the scroll to next page on the repeating group with:

  1. when the user clicks on a page: let’s say page 7 (on a list of 10 items for each page)
  2. the repeating group is filled in with items from 71 to 80

This way, if I only have 72 items in total, it should show page 7 with 2 items (71, 72) instead of showing page 7 with 10 items (63, 64, … 72).

2 Likes

https://buildingonbubble.com/block/paging-block-1458658940194x712590971239923700

This might help.

3 Likes

Hi there,

I had the same problem and managed to overcome this issue.

I gave an explanation of my implementation in this topic:

1 Like

can you share with us some screenshots or the editor link?

not working with me