cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hemasai1999
Helper III
Helper III

How to change dropdown in gallery

Hi,

I have one gallery with multiple dropdowns , if I change one dropdown to other name then all dropdowns under that dropdown in gallery should change to selected one.

 Screenshot (127).png

 

Any suggestion would be helpful

 

3 REPLIES 3
gabibalaban
Super User
Super User

@Hemasai1999 ,

Set OnChange property of the dropdown control inside the gallery to:

UpdateContext({defaultSelection:Self.Selected.Value})

and Default property to:

defaultSelection

 Hope it helps !

PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @Hemasai1999 ,

 

You can try fetching the selected value in a variable on change of the dropdown and set that variable as Default value of the dropdown in the gallery. 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Hi,

Thanks for your suggestion, But it is showing error when I try to apply it in my app, and also my issue is if i change 3rd dropdown in gallery then all the dropdowns below 3rd dropdown in gallery should change to selected item in 3rd dropdown.

Screenshot (129).png

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,345)