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

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

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (31,450)