Sort RG by collapsed groups

Hi everyone!

I have an RG where each cell has a button and a group in it. The button expands/collapses the group. I would like to be able to sort the RG by collapsed/expanded groups, so that all the expanded group cells are at the top.

Anyone have ideas on how to accomplish this? Because the RG data is dynamic, it has to be a flexible solution. I was thinking of using states of things inside each cell, but it doesn’t appear that i can reference things inside the cell in :sort

Thanks!

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