Notifications
Announcements
Has .loadNextPage() been changed so it's no longer cumulative?Why the change?
What do you mean by cumulative? I have noticed no changes in the behavior; it gives you the next page, according to your pagination value (which you can control with setPageSize), just as it always has.
Hi @skoofy5 ,
I cannot tell, since I've only used loadExactPage. That way I could have the same behaviour in both model-driven and canvas apps, but @ScottDurow has a blog about loadNextPage and these differences: https://develop1.net/public/post/2020/05/07/pcf-dataset-paging-in-mode-vs-canvas-apps
I'm actually happy if this changed, since this alignes both model-driven and canvas apps (+custom pages), but I can understand that this creates trouble if you are using this in production.
If you need the cumulative approach, maybe you can use a workaround: instead of loadNextPage you could set the pageSize to the cumulative size (so increaze the page-size each time) and call dataset.refresh().
Maybe @HemantG can tell us of this change is intended and should stay like this.
Hope this helps!
Thanks for the responses. As Diana has pointed out it definitely used to be cumulative. I think when I started I used it only because I couldn't see documentation for loadExactPage (which, I believe is still not documented here - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/paging).
I'm just trying to figure out how such changes come through without any warning. It didn't cause huge problems fortunately, but I'd rather know if changes to methods are coming.
you are right, the loadExactPage is still not documented there, but there are examples in the sdk where it is used, so I wouldn't worry that much. Have a look yourself: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/tutorial-create-canvas-dataset-component?WT.mc_id=BA-MVP-5004107#adding-paging-to-the-grid
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 445
WarrenBelz 386 Most Valuable Professional
MS.Ragavendar 321 Super User 2025 Season 2