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 / Gallery Selection not ...
Power Apps
Answered

Gallery Selection not working

(0) ShareShare
ReportReport
Posted on by 15

Hello All,

 

I have a gallery with few records, when I click on a row the record is not selected.

I have also created a label (for testing purpose) with value as 

 

 

gallery.Selected.UserName

 

 

but it doesn't change.

 

Gallery properties

 

 

Selectable = true;
OnSelect = false;
TemplateFill = If( ThisItem.IsSelected,Blue,White );

 

 

 

Surprisingly, this was working fine before. Could you please advise?

 

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @BidyutG What's in the Items property of the Gallery? Does it have a field called 'UserName'?

  • BidyutG Profile Picture
    15 on at

    Yes it does.

     

  • SaiKrishnaGudluru Profile Picture
    499 on at

    ensure the Display Mode of the Gallery is Edit.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @BidyutG What's in the Items property of the Gallery? 

  • BidyutG Profile Picture
    15 on at

    It is in Edit mode.

     

    It feels like Gallery is freezed and nothing is getting selected. This gallery also has an icon control as underlying item, the onSelect of the icon is not getting fired as well.

  • Verified answer
    BidyutG Profile Picture
    15 on at

    Dear All,

     

    Issue is now resolved.

     

    Resolution:

    Reorder Gallery Control to the "Front". This clicked when I replied as the Gallery is freezed.

     

    Thank you everyone for your time and support.

  • calerof Profile Picture
    255 on at

    I had the same problem with different cause. In my case On Select I was defining a global variable, but on the Text Input control I added a Cancel control and there instead of resetting the global variable I was using UpdateContext to set the variable to blank. That was messing up the Gallery properties. When changed the Cancel control to Set(var, Blank()), all worked well as normal.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 333 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 86 Super User 2026 Season 1

Last 30 days Overall leaderboard