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 / Display mode for selec...
Power Apps
Unanswered

Display mode for selected Gallery Item Only

(0) ShareShare
ReportReport
Posted on by 754

Hi -I have a context variable set up for display mode in a gallery basically if I click yes, no gets grayed out and vice versa. Can I set this up where each item in the gallery operates independently? If I click one they all follow the logic. 

 

Thx 

ctedesco3307_0-1682612216301.png

 

Categories:
I have the same question (0)
  • SebS Profile Picture
    4,748 Super User 2026 Season 1 on at

    @ctedesco3307 

     

    Yes, You can do this but You will need to change few things

     

    1. Change UpdateContext({DisplayMode: DisplayMode.Disabled}) to something like this

     

     

    UpdateContext({varDisplayModeDisabled:true})

     

      

    2. Than Add another Variable

     

     

    UpdateContext({varItem:ThisItem})

     

     

    3. Than Head to DisplayMode Property and place this code

     

     

    IF(VarDisplayModeDisaable && varItem.ID = ThisItem.ID,DisplayMode.Disabled)

     

     

    This should do the trick 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard