cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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?

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. 

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
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.

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,298)