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 auto scroll do...
Power Apps
Answered

Gallery auto scroll down to last record?

(0) ShareShare
ReportReport
Posted on by 997

Hello,

Is it possible to scroll the gallery down, i use a timer to refresh the collection

And the gallery load the data again, but i see the gallery don't scroll down to the last record it stays at the top 😞

Is this possible? if yes, could you tell me how.

Thank you.

Categories:
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @TimmyBoy,

     

    Do you always want to automatically hop to the last record in your gallery? In this case, the following functionality will achieve that:

     

    The Default property of your gallery will be:

    Last(DataSource)

    With DataSource I mean the code within the Items property of that gallery.

     

    After refreshing your collection, you can use the Reset(GalleryName) to trigger the default value and make the gallery hop to the last record.

     

    If your gallery sometimes needs to start at the top and sometimes at the bottom. You can dynamically declare this by using a variable in the Default property. This variable can then be set to Set(varDefault, First(DataSource)) or Set(varDefault, Last(DataSource)) to make the gallery start at the top or bottom dynamically. (default property of the gallery would be varDefault)

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • TimmyBoy Profile Picture
    997 on at

    Hello @LaurensM 

    Thank you, so amazing

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard