I want to set a default item from a Gallery as Selected when the screen loads, but not to activate the OnSelect. Is this what the Default Property of a Gallery is for?
How could I make it treat i.e: Row 2 as the Selected row?
Solved! Go to Solution.
Yes, that's exactly what Default is for. I believe you could select row 2 by using this code in the Default property.
LastN(FirstN(Gallery1.AllItems,2),1)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Yes, that's exactly what Default is for. I believe you could select row 2 by using this code in the Default property.
LastN(FirstN(Gallery1.AllItems,2),1)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
169 | |
94 | |
64 | |
64 | |
60 |
User | Count |
---|---|
241 | |
163 | |
95 | |
85 | |
82 |