Skip to main content

Notifications

Community site session details

Community site session details

Session Id : j6H0xNigsXW3bhuIa3+sJT
Power Apps - Building Power Apps
Answered

Powerapp Gallery SetFocus to Top

Like (0) ShareShare
ReportReport
Posted on 18 Nov 2022 11:01:57 by 302

Is there a known workaround with SetFocus function of Goto Top in a Gallery displaying long list/range of data?

Categories:
  • Verified answer
    victorcp Profile Picture
    2,347 Super User 2025 Season 1 on 23 Nov 2022 at 12:12:05
    Re: Powerapp Gallery SetFocus to Top

    Sorry I think it is not possible

  • Virikefe22 Profile Picture
    302 on 23 Nov 2022 at 11:50:35
    Re: Powerapp Gallery SetFocus to Top

    Is it possible to set the visibility property of the Goto Top btn to show/visible on scroll of the Gallery?

  • Verified answer
    victorcp Profile Picture
    2,347 Super User 2025 Season 1 on 23 Nov 2022 at 11:05:31
    Re: Powerapp Gallery SetFocus to Top

    Hi,

    You can simple reset the gallery:

    Reset(Gallery1)
  • Virikefe22 Profile Picture
    302 on 23 Nov 2022 at 08:57:05
    Re: Powerapp Gallery SetFocus to Top

    Didn't work Bro. The result of this is that, when you click on the icon, it selects the first data of the gallery and displays it in a separate gallery, displaying the item 1 in the gallery. I wish to go to the top of the gallery when I click on the btn (Goto Top)

     

     

  • v-xiaochen-msft Profile Picture
    on 21 Nov 2022 at 02:50:15
    Re: Powerapp Gallery SetFocus to Top

    Hi @Virikefe22 ,

     

    Please try Select function.

    Select(Gallery1,1)

    //Gallery1 is the name of the gallery control

     

    Best Regards,

    Wearsky

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 172 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 87

#3
stampcoin Profile Picture

stampcoin 73

Overall leaderboard
Loading started