Hello,
@v-siky-msft kindly helped with building an expander gallery but for some reason I can only select and open the first two items in the expanded group. I think it may have something to do with the height of the subgallery or main gallery. This is what I have for the heights.
MainGallery Height: 564
SubGallery Height: If(expandCollapse && ThisItem.IsSelected,CountRows(ThisItem.Grouped)*80,05)
When I change the subgallery height to 500, for example, the groups do not collapse, but I can select all the items.
Any ideas or suggestions?
Many thanks!
Solved! Go to Solution.
Hi @LYNCHJL ,
It seems that the items at the bottom of sub-gallery cannot be selected due to the gallery is not high enough.
The height of sub-gallery is configured by 'CountRows(ThisItem.Grouped)*80' code, that means the unit items height is 80, the total sub-gallery height is Unit height times the number of items. The advantage is that each sub-gallery Height is not fixed, depending on the number of Items.
If you want to increase the sub-gallery height, just try to increase the unit item height, e.g. increase from 80 to 160.
If(expandCollapse && ThisItem.IsSelected,CountRows(ThisItem.Grouped)*160,05)
Or Use the Fixed Height, e.g. 500
If(expandCollapse && ThisItem.IsSelected,500,05)
Hope this helps.
Sik
There may be two things going on:
Hi @LYNCHJL ,
It seems that the items at the bottom of sub-gallery cannot be selected due to the gallery is not high enough.
The height of sub-gallery is configured by 'CountRows(ThisItem.Grouped)*80' code, that means the unit items height is 80, the total sub-gallery height is Unit height times the number of items. The advantage is that each sub-gallery Height is not fixed, depending on the number of Items.
If you want to increase the sub-gallery height, just try to increase the unit item height, e.g. increase from 80 to 160.
If(expandCollapse && ThisItem.IsSelected,CountRows(ThisItem.Grouped)*160,05)
Or Use the Fixed Height, e.g. 500
If(expandCollapse && ThisItem.IsSelected,500,05)
Hope this helps.
Sik
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
182 | |
72 | |
44 | |
37 |
User | Count |
---|---|
331 | |
267 | |
116 | |
71 | |
66 |