Rearranging order of groups based on selection

Hello, here is my case :

When all 4 buttons above are clicked, then all 4 groups are visible and in order 1, 2, 3, 4.

I want to display only groups whose buttons with the same name are clicked, and in the same order but no gaps between them, meaning that if I disable group 1 and 3, then it would be somethink like this :slight_smile:

Capture d’écran 2024-03-20 à 10.33.53

Every time I enable/disable a group then it shows/hides and the group(s) on the right go left. There is quite a few possibilities with 4 groups, I could do more groups and change the order with the container alignement but I have 20 groups actually and it would take me ages to do it like this. Any idea to ease the process ?

Cheers :slight_smile:

Hi there,

I’d make sure to select ‘Collapse when hidden’ on each group, I believe that should do the trick.

Oh my god, great tip, thanks ! It worked lide a charm.

1 Like