Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Auto scroll galley

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi,

Is it possible my collection gallery to auto scroll when i hit create another line item within gallery please see screenshot and my collection formula

 

Addline2.PNGAddline.PNG

 

Collect(
 IndexesChecks,
 {
 Value: Max(
 IndexesChecks,
 Value
 ) + 1
 }
);
Collect(
 DataToTeamLinkChecks,
 {
 Index: Last(IndexesChecks).Value,
 Text: Blank(),
 URL: Blank(),
 Valid: false
 }
)
  • Verified answer
    v-yutliu-msft Profile Picture
    on at
    Re: Auto scroll galley

    Hi @Ramole ,

    Do you want to scroll down the gallery when you click the add item button?

    You just need to set the gallery's Default to the last item of the collection that the gallery display.

    A gallery's Default property means the default selected item of the gallery.

    Gallery will scroll down automatically with its selected item.

    In your issue, you just need to set the gallery's Default to:

    Last(DataToTeamLinkChecks)

     

     

    Best regards, 

  • Vijay Tailor Profile Picture
    2,961 on at
    Re: Auto scroll galley

    Hi @Ramole ,

    For this Issue, you can you Sort function like Descending Once you Add New Rows, it will DIsplay On First Record in the Gallaery.

    I use the same concept for this issue when i encountered this problem.

    Like that mentioned below.

    SortByColumns(Filter(TimeSheetEntryBook,MasterID=varCheckDuplicate.ID),"ID",Descending))


    Thanks,
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."



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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399