Hi,
I seem to have an issue with the rendering of my galleries when I use the function groupBy with CountA or CountRows
for illustration:
function groupBy is on property items of the parent gallery
function CountA is on property height of the child gallery. It serves to set the height of the gallery if the item of the parent is selected.
The rendering is like this as soon as write that.
Is anybody has an idea of the reason? Is anybody experienced this by the past?
Thank you,
Solved! Go to Solution.
Hi @Jonathan92
Do you want to create an expander gallery like this?
To create an Expander gallery, please ensure the Main Gallery is the flexible height gallery that the row height of each item is adaptive.
I also feel confused with CountA function applied to Sub-Gallery.Height property. CountA function only counts the number of records that aren't blank, I don't think this return value can support the height of the sub-gallery, so I added a base multiplier, 50 shown as below:
Hope this helps.
Sik
Hi @Jonathan92
Do you want to create an expander gallery like this?
To create an Expander gallery, please ensure the Main Gallery is the flexible height gallery that the row height of each item is adaptive.
I also feel confused with CountA function applied to Sub-Gallery.Height property. CountA function only counts the number of records that aren't blank, I don't think this return value can support the height of the sub-gallery, so I added a base multiplier, 50 shown as below:
Hope this helps.
Sik
Yes, this is what I am trying to do.
But weirdly both galleries bugg when I enter CountA function in order to calculate the height the child gallery should be when I select a record in the parent gallery.
Hi @Jonathan92 ,
Please try to set the Height of SubGalllery as follows, and adjust the font size and label size to fit.
If(ThisItem.IsSelected; CountRows(ThisItem.contactData)*50;0)
I attached a sample expander gallery for your reference, please find the attachment.
Sik
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |