I currently have the following issue : I have a repeating group that shows a maximum of 5 non-null items. I succeed to make the null items non visible, but the repeating group still shows the “box” for each item.
For example, below you will find a screenshot with only 1 non-null item. Others items are non visible, but I would to make them totally erased so that only the first box is showed.
What do you mean by ‘non-null items’?.. (an RG will only have cells for the items in it, not for empty or non-existent items)
I’m guessing you have some field in your database that you’re referring to?
In which case you just need to apply the correct constraints on your search…
If you mean that you have items in the database which have certain values which are empty, then you’ll need to add that as a constraint…
If you mean something else then you’ll need to clarify…
But it looks to me like you’re loading ‘things’ into you repeating group that you don’t really want to be loading, then just hiding the info inside the cell (using conditionals)…
Yeah, all you’re doing there is hiding the text in the cell… but the cell will still be there as you’re loading data into it…
Assuming that you only want to show GeographicalRepartitions who’s percentage is not empty (and as your RG datasource is another element’s list of things), just add a filter on the RG datasource with a constraint for Percentage isn't empty