web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Greying out items whic...
Power Apps
Unanswered

Greying out items which not selected in gallery

(0) ShareShare
ReportReport
Posted on by

Hi, 

I'm really stuck with greying out logos in gallery which not selected. I'm doing training lab and I would like to create this:

 

Romana88_0-1655382676584.png

Gallery on left side with graying logos non selected. I tried everything. Maybe it is one 

 

Thank you for your help. 🙂

 

 

Categories:
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @Romana88 you can use the Transparent property for this.

     

    Set the transparent property of the image to If(ThisItem.IsSelected, 0, 0.8) it will highlight the one selected while keeping the others faded.

     

    Hope it helps,

    R

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @Romana88 

     

    in the vent you want to select more than one and deselect items:

    •  Add a column to you datasource (as collection)
    • AddColumns(yourDataSource,"MenuItemIsSelected",false) // all the menuitem will be deselected int he beginning
    • the image's transparency is now set as follows If(ThisItem.MenuItemIsSelected, 0, 0.8)
    • On the galery's OnSelect = Patch(yourDataSource,ThisItem,{MenuItemIsSelected:!ThisItem.MenuItemIsSelected})

    Result:

    Peek 2022-06-16 15-52.gif

    Hope it helps,

    R

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard