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 OnSelect funct...
Power Apps
Answered

Gallery OnSelect function not working

(0) ShareShare
ReportReport
Posted on by 79

I can not seem to make the OnSelect function of any of my Gallery controls work.  Is there something going?  When I search this topic it appears this happens periodically.   I do have the control in Edit View.  Thanks for any help.

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

    Hi @nhale 

    The gallery OnSelect function is rarely used.  Typically, a control such as a a button or an arrow icon is placed into the gallery and the OnSelect function of the control is used to pass a function such as EditForm() or Navigate() to produce the desired action.

  • nhale Profile Picture
    79 on at

    Thanks,  that makes sense,  but not certain how to accomplish that on a calendar control.  I have a long list of appointments for our business that I am grabbing and storing in a collection for current day and then I need a way to refresh the collection when the user selects another day.  I thought that this would trigger the OnSelect but it does not.   Here is a sample of the calendar control.

    nhale_0-1607734747188.png

     



  • Verified answer
    nhale Profile Picture
    79 on at

    I figured this out.  Thought I would update.  The actual object that I needed to trigger the OnSelect was a component of the calendar and not the top calendar frame.  Once I discovered this it worked fine.  

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard