how about you add a custom state to the repeating group itself and add toggle each row’s custom state based on clicking the arrow or the close/open all buttons.
Hi @Anana1,
This looks exactly like what I’m trying to achieve, but can you be a bit more specific in how to achieve that ? How do you ‘add toggle each row’s custom state’ ? I can’t seem to find it in the workflows
What does your workflow look like when you click the ‘open all’ button for example ?
Thanks you
@tart2000design I could explain in detail but it’s easier for you to see for yourself and play around with it, here’s a public version of the one I showed you. free for all to edit:
you basically make expanding/collapsing based on two conditions, current row and the whole RG custom states.
Wow, thanks @hanan1
I finally got it to work by fiddling with your demo. Is there a reason why the custom state on the RG needs to be a text field and not a boolean (it doesn’t work when it’s a boolean) ?
Thank you very much
Also, there is this weird (if expected) behavior :
When I open #1, click ‘open all’ and then close #2, they will all close, but #1.
The logical thing to happen would be for #2 to close and all the others to remain open…
I understand that it’s what is ‘supposed’ to happen with the way it is built, but it makes for a really less than intuitive experience for the user
So in the end, I’m not even sure I’ll keep this feature…
It would be sooo much easier to be able to set states within a RG.
@tart2000design Ah I’m sorry, missed a condition because I did it fast. The text state is there because we need an intermediate state when the RG is not all open or all closed; either of which changes all at once.
I’ll fix it and explain when I have more time later today. no worries.