cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nbarsley1
Level: Powered On

Select the first gallery item when navigating

Hi we have a tablet app with a gallery on the left hand side of the screen and a form on the right hand side. When first navigating to the screen we would like to auto select the first item in the gallery. When navigating away and then navigating back we would like to select the item in the gallery that was previously viewed. Is this possible? 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Select the first gallery item when navigating

I believe by default OnStart the first item in the gallery will be selected.  I just tested it out in one of my apps and that seems to be the case.  It also looks like if you navigate away it should keep the last selected value.  I tested that in my app and that was the case also.  I have a gallery and edit form on the same page.  The edit form "Item" propertly is set to the selected item in my gallery.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Select the first gallery item when navigating

I believe by default OnStart the first item in the gallery will be selected.  I just tested it out in one of my apps and that seems to be the case.  It also looks like if you navigate away it should keep the last selected value.  I tested that in my app and that was the case also.  I have a gallery and edit form on the same page.  The edit form "Item" propertly is set to the selected item in my gallery.

View solution in original post

PytByt
Level 8

Re: Select the first gallery item when navigating

Hi @aprildunnam 

Can you please explained it to me more detail?

I need to auto selected the Gallery item when navigate away from a screen.

This is i have on the Gallery Item Property: 
[{ID:"MenuTab1", DisplayName:"Header"}, {ID:"MenuTab2", DisplayName:"Details"}]

What should i put on the Gallery Default property then?

Please Help,

 

Thanks.

pytbyt

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 89 members 5,028 guests
Please welcome our newest community members: