cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Goutham
Helper II
Helper II

dataset.page.loadnextPage is not updating records

I am using dataset.paging.loadnextpage()  to load next page in my custom grid(for subgrid).It is triggering a new update view cycle as expected but  dataset.records is empty in new updateview cycle. Am i missing any?(please note during first update view cycle before calling loadnextpage, dataset.records has values)

 

Do we need to call dataset.refersh() along with loadnextPage()?

1 ACCEPTED SOLUTION

Accepted Solutions
DianaBirkelbach
Super User
Super User

Hi @Goutham , 

 

You don't need to call dataset.refresh() after calling loadNextPage. I've seen issues when the page size is changed (using dataset.paging.setPageSize). Could it be your case too?

You can have a look to the network protocol, and see which fetch requests is used. Maybe this helps further.

 

Kind regards,

Diana 

View solution in original post

1 REPLY 1
DianaBirkelbach
Super User
Super User

Hi @Goutham , 

 

You don't need to call dataset.refresh() after calling loadNextPage. I've seen issues when the page size is changed (using dataset.paging.setPageSize). Could it be your case too?

You can have a look to the network protocol, and see which fetch requests is used. Maybe this helps further.

 

Kind regards,

Diana 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Users online (11,531)