Collapse Repeating Group height w/ fixed# cells have empty rows

Hello,

I have a repeating group set up with a fixed number of cells, 15. If I only have two rows of data I end up with a large empty space to accommodate the other 13 rows.

Is there a trick to hide these rows, or dynamically collapse the RG to show only the two rows?

I just thought of something as I was typing this. Maybe have two RG. One (RG1) set up as fixed when at least 15 (or whatever) rows of data exists. The other RG (RG2) setup as full list. Under normal conditions RG2 would be hidden, but when row count is less than 15 RG1 would be hidden and RG2 would become visible. How will the additional RG on the page affect performance?

Thanks!
George

1 Like

Hi @gnelson what is the use case for having 15 fixed row? When using fixed Repeating group common practice is you know that the data is going to accommodate the fixed cell number.
Alternatively, I would create a repeating group with 1 row and 1 column and for the data source, if you want to keep the limit to 15, is search for thing items until # 15 That way if you Repeating group has less than 15 entries you won’t have that white space.

Hopefully this helps
Cheers

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