Skip to main content
Community site session details

Community site session details

Session Id : 6JhnfqricaNMUuENYx2jkS
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 Moderator 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 Moderator 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete