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.
MB
Frequent Visitor

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.

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,054)