I thought this would work with a simple conditional, but doesn’t seem to be taking effect.
I have a simple header and a repeating group below it. If there is no data to show because the data doesn’t meet the search constraints, the header above also should not be visible and the group should collapse. What I am finding is that the repeating group won’t show (as there’s no data to present, which is fine), but the header remains.
Is there something that I’m not understanding in that the repeating group think its actually not hidden even when there’s no data to display?
Yes… the RG is still technically visible (i.e. it’s drawn on the page), even if there is no data in it (check the debugger to see that for yourself)…
You need to use the condition When RG's list of things count is 0 or When RG's list of things first item is empty… or you can of course use the same expression you used in the search…