Hi there,
I'm working on an on call roster app. Users will see who is rostered on call this week, as well as previous and future entries in the roster.
I want to implement this as a gallery. I want to use the Default property of the gallery to set the displayed gallery item. This is so that the initial scroll position of the gallery will be at today's on call duty, and the user can scroll up or down to see adjacent entries. The problem I've encountered is, I can't figure out how to set the value of the Default property.
The Gallery control properties documentation doesn't say which which type it uses, nor does it give an example situation using this property.
In fact, I wouldn't have even known this was the correct property to use, had it not been for this forum post -
https://powerusers.microsoft.com/t5/PowerApps-Forum/Gallery-Scroll-to-a-Default-Item/m-p/4558/highli... . However, the method suggested in the post leaves the type and/or format of a Default property value opaque to the user.
How can I set the value of a gallery's Default property?