I have 10 row in Notes CDT and I am using below script to display the data in P

Certified Lead Developer
I have 10 row in Notes CDT and I am using below script to display the data in Paging grid, it is displaying 5 rows in ascending order as expected but when I click on next page arrow in paging grid to view next 5 set of data it is loading form with same set of data.

=todatasubset(pv!Notes,type!PagingInfo(startIndex:1, batchSize:5,sort:{field: "createdOn", ascending: true}))

Please verify my code.
...

OriginalPostID-74479

OriginalPostID-74479

  Discussion posts and replies are publicly visible