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.

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.

PytByt
Level: Powered On

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 289 members 4,433 guests
Recent signins:
Please welcome our newest community members: