I need help on making my repeating group’s (RG) height according to the size of the sub RG inside.
I found a prior post from 2020 that showed exactly what I’m looking to achieve but didn’t show how to achieve it:
I set a minimum size for the parent RG, and tried setting the sub RG to be hidden and only show if there are lines…but the main RG isn’t changing height at all to accommodate the sub RG, and so I end up with this:
Set the layout of the RGs to column. In the child RG, set the min height to be the height that’s needed to show 1 row. Then in the parent RG adjust the min height to be enough to show the contents of it’s cell and the first cell of the child rg (or 2 if you’ve set that as the number of fixed rows).
Another related question, if you don’t mind - I’m looking to do the same thing for another screen, but on this one the RG row is very wide and I’d like it to be able to scroll horizontally so the user can see the other fields if they want. This seems to only be possible if the RG layout is “fixed” - is there a way to achieve this? Many thanks.
No, the RG layout doesn’t have to be fixed. Have you searched for a solution at all? A quick google search will show you tutorials and forum posts about this
Yes, I did a lot of searching, but I couldn’t find anything and it seems if I use the row layout all the fields outside of the width of the RG then wrap…and I want them to be there but invisible until I scroll. Here’s my screenshot, showing the fields before I reduce the RG width: