cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MB
Frequent Visitor

Gallery not refreshing correctly

On an iPad, the Gallery has stopped showing all records.  Initially all records are shown (e.g. 309 rows), but if I edit one of the records, then SubmitForm, the Gallery then only shows the top 100 records and will no longer scroll past that limit as it did prior to editing an entry.  Works fine on the PC (running from the Web Designer) but not the iPad.

17 REPLIES 17
v-micsh-msft
Community Support
Community Support

What data source you used here?

Would you please also share the formula used under the items property of the Gallery control?

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Data Source is a SharePoint List, and formula is:

 

Sort(Sort(Filter(CRM_RouteStores,AreaManagerDescription=AreaManagerSelection.Selected.Result, Title="Current"),BuyingGroup),CustomerName)

 

Gets all records, until such time as I edit one and SubmitForm, after that it only retrieves the Top 100.

 

Thanks

 

Mike

Does it show more data if you try to scroll down in the gallery on Ipad? Does it work correctly in browser if you open the app?

MB
Frequent Visitor

No, on the iPad it initially shows all records if I scroll, but after I edit one the it only shows the top 100 and won't then scroll any further.  Tried using the iPad App, then re-tried via Safari to PowerApps OnLine.  Same result for both.

 

It does however work fine on a PC in a browser.

 

Can you try one more thing? Can you change the expression on gallery to bind to below expression.

Gallery.Items = FirstN(CRM_RouteStores, 300)?

 

Does it work correctly now? I am trying to isolate what could be the issue. 

MB
Frequent Visitor

Yes, that does work correctly.  Can edit and will still show all records.

Do you use a Combo box inside the gallery?  There is a known issue with gallery scrolling if it has a combo box inside.

- not filipk@microsoft.com, please private message me if you can't share with everyone
MB
Frequent Visitor

No I don’t.  There’s just a text field with the store name, and an icon used to go to the edit form.

Anonymous
Not applicable

I am suddenly experiencing this issue as well (on a PC). It is very inconsistent but is happening with more than one user.  The selected set of data has 130 records.  Sometimes all of it will be displayed in the gallery and sometimes it is locked at 100 records.  Refreshing the browser and starting over helps most of the time but not all.  I just tried adding the FirstN( , 300) suggested in this post and that seems to help but don't want to keep that for good.  Is there another answer?  Here is the formula: 

SortByColumns(Filter('[dbo].[viewEmpDataSalEntries]',DeptCd=DT_currentDept.Selected.DeptCd),"LName",Ascending,"FName",Ascending)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,391)