web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / go to page functionali...
Power Apps
Unanswered

go to page functionality on gallery in power apps

(0) ShareShare
ReportReport
Posted on by 2

I have implemented gallery pagination in power apps, user has requested for go to page functionality that is when i enter page number in a text input ,the respective page should display.

how do i capture the page number with out hitting  next icon.

Many Thanks  in Advance .

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Well, it depends on how you implemented pagination in the first place. I assume that you added Next and Previous buttons and you are using a Filter or something to trim the gallery Items down to only the correct 10 or 20 or whatever. If so, then I'd suggest you try making pageNumber a Named Formula instead. by making it a Named Formula, you can make it really easy to tweak with your next and last buttons and with a numerical input for "go to page" then you would just use that pageNumber Named Formula in your Filter instead of whatever you're currently doing to trim down the results.

  • jvsnaidu Profile Picture
    2 on at
     
    PREVIEW
    Hello cchannon many thanks for your quick reply,
    we are using below formula to get the no of pages
    "Page " & varPageNumber & " of " & If(
    Mod(
    CountRows(Gallery_Pagination.AllItems),
    100
    ) = 0,
    RoundUp( CountRows(Gallery_Pagination.AllItems) / drpPaginationSize.SelectedText.Value ,0) & "+ pages",
    RoundUp( CountRows(Gallery_Pagination.AllItems) / drpPaginationSize.SelectedText.Value,0) & " page(s)"
    )
    the varibale which holds the page number add by 1 when click on next icon.
    we tried the filer you suggested but the variable is nit getting incremented which is y the filter is not working.
     
    can you please suggest the any other alternate way  to get the page number.
     
    jvsnaidu_0-1683036012276.png

     

     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard