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 item loses sel...
Power Apps
Unanswered

Gallery item loses selection if over 100th item

(0) ShareShare
ReportReport
Posted on by 71

Hi all, 

 

I have a gallery that loads more than 100 items.  When a user selects an item in the gallery, it displays all the details for that item in a form where they can modify the information for the currently selected record and Save.  

 

If the user is on any of the first 100 items and they click the save button, the gallery stays focused on the current item they have selected.  All good.    However, if they scroll down and select, say item 101 or higher:  When they modify the information and click save, the gallery item selected looses focus entirely where no item is selected and of course the form gets the dreaded "No Items to Display"

 

Anybody else run into this, and would there be a work around?

 

Thanks!

Troy

Categories:
I have the same question (0)
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Just checking the item on your form is gallery.selected right?
    what datasource are you using to populate gallery is it sharepoint,Sql, dataverse or something else. 
    If you put a label on the screen and do the text as gallery.selected."insert name of data column here" is that blank aswell or just the form

  • v-chenzhi Profile Picture
    Microsoft Employee on at

    Hi @TeeroyLyon ,

     

    Could you please tell me how you set the item property of your Form? Is it Gallery.Selected?

    If yes, this is an already existing problem, I suggest you use variable.

    I have a test on my side, please try the following workaround.

    Set the OnSelect property of NextArrow icon to:

    Set(Var,ThisItem)

     Set the item property of Form to:

    Var

    It works fine.

     

     

    Best Regards,

    Zhi Chen

  • TeeroyLyon Profile Picture
    71 on at

    Thanks for providing this solution.  Unfortunately it doesn't work for me.  It might be because I am applying a filter to the items in the gallery (In the Items property of the gallery)

  • v-chenzhi Profile Picture
    Microsoft Employee on at

    Hi @TeeroyLyon ,

     

    Could you please show me more about your scene?

    May I ask you some questions?

    1. What is your data source?

    2. What is the formula you wrote on the Items in the Gallery?

    I assume you use SharePoint and have a test for your reference.

    I write a simple filter formula on Items of Gallery and Set(Var,ThisItem) on the OnSelect of the Icon.

    vchenzhi_0-1640137793087.png

    Set Var on the Item of edit form.

    vchenzhi_1-1640137825882.png

    After clicking the submit button, the form still shows the selected.

     

     

    Best Regards,

    Zhi Chen

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard