I’ve been reading over the forum posts to try and get a handle as to how to do the thing that I’m wanting to do, but I haven’t been able to piece together the various bits of information I’ve come across to find what I’m looking for.
In any case, here’s what I’ve currently worked out, and then following that, what I’d like to resolve.
I have one horizontal repeating group. It only shows a single item of a list, and has a ‘show next’ and a ‘show previous’ via workflow that, when pressed, shows the next item in the horizontal repeating group. That all works fine and is pretty standard.
There is also a ‘select’ button on each item in that horizontal repeating group that, when pressed, runs a workflow which sends a list of data to another horizontal repeating group below the first.
I could create each row of horizontal repeating groups manually, but that has the obvious limitation which is that I could only create a finite amount of horizontal repeating groups.
Instead, what I would like is to do is nest a horizontal repeating group within a vertical repeating group, which would make it extend vertically infinitely (though I might place limits on it still). I know that’s bad practice, but I believe I’ve resolved the memory issue by making each subsequent row of the vertical repeating group not load until a list is sent to them from the previous row.
The complication of that method is that I need each row of the vertical repeating group to only show a single item and to each have a ‘show next’ and a ‘show previous’ button which automatically cycles through items of that newly sent list, without having to manually create a workflow for each ‘show next’ and ‘show previous’ button.
I hope that makes sense. It’s kind of hard to explain. If any clarification is needed, please don’t hesitate to ask. I appreciate any assistance that anyone is willing to offer.
I’m not sure I understand the complication here… (nor what you mean by having to ‘manually create a workflow’ - how else would you create a workflow?)…
What exactly is the issue you’re having in achieving this? (if you can do it outside of a RG, then just do it inside the RG - I don’t see where the issue is here?..)
Essentially, I’d like to nest a horizontal repeating group within a vertical repeating group.
Each horizontal repeating group has a ‘show next/previous’ button, as well as a ‘select’ button, and only shows a single item in that list at a time.
Show next/previous operate as you would expect, and the ‘select’ button sends a new list to the next horizontal repeating group beneath that.
That new horizontal repeating group has the same buttons, and same functions.
However, with a repeating group (as far as I’m aware), you can’t define the actions of each new item in the list.
I’ve toyed with using custom states, or running workflows like ‘current cell index +1’, etc, but I haven’t managed to make it work just yet. Each new row’s ‘show next/previous’ and ‘select’ buttons should operate according to that new list.
I would want it to be ‘infinitely’ scaling in the form of a vertical repeating group, but unfortunately, I haven’t figured out yet how to do it.
Thank you for reaching out, by the way, I don’t know if you have a solution, but I appreciate the assistance either way.
I think you’re overthinking it and creating a problem that doesn’t exist…
This should be as simple as doing exactly what you’ve described…
i.e. adding a single cell horizontal RG inside a vertical RG…
Have you tried it?
I just created a simple test, and I had no issue doing what you’ve described - unless I’ve completely misunderstood what you’re trying to do or the issues you’re having…
Assuming you’ve actually tested this for yourself, can you elaborate on the exact problem you’re having with it? Maybe then I’ll get a better understanding of the issue…
Or is the issue you’re having to do with defining the list within each RG cell?