Dynamic height Repeating group

Hi,

I want to give my customer the ability to change the height of a RG, if he wishes to see more columns on one page.
Does somebody know how to implement this? So it’s changing the height and number of rows of the RG.

Thank you!

Height of RG are set according to content. So if you show 10 item at first and let user select Show 20, you can have a conditionnal that will.change the data source to :until 20 instead of 10

Good tip thanks!
But my list is sometimes 100+ patients long, so it would be not user friendly when they need to click the + button Everytime. Maybe I find a way around this.

Dropdown: Show 20, 50, 100

Alternatively you could have an input and and a button if you need precise control

Show rows [ 10 ]

Thanks for the idea.

The problem is that sometimes a list is 100 rows long but the user wants only a view of 10 rows and wants to scroll. Is it possible to make it that customizable, a little bit like the bubble editor itself…

This is the idea behind a selection or a precise control like @casheets123 suggest.
The RG will adapt to the number you will choose
So for example, if you have a dropdown called “Rows to show” with option 10,25,50,100
You will set your Data source in RG to: Search for…:until Dropdown’s value
When user will switch from 10 to 100 or from 100 to 10, automatically, RG will be updated and the height too

I just tried the RG doesnt update when we change source with #until dropdown value

demo : https://bubblehacks.bubbleapps.io/version-test/rg-until
editor : https://bubble.io/page?type=page&name=rg-full-height&id=bubblehacks&tab=tabs-1
Any idea ?

No issue. This automatically update the RG on my side. The only thing is that actually the first group take almost all the space. If you want to adjust the page height, use EXT vertical scrolling

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