I have a list, how can I do something like what pagingInfo does? I want to pass in batchNumber and batchSize and get the part from the list.
The list is not queried from record, it is from an api response, but the api response was not paged. I was blocked when I tried to create a record type using this api, so I was thinking maybe I can page the response in recordDataSource file. Is there any other ways that I can do this without changing the api?
Discussion posts and replies are publicly visible
you can convert your data into datasubset using todatasubset() function. something like below
todatasubset { your data from Api }, a!pagingInfo(startIndex: 1, batchSize: 10) )
once you have datasubset you can easily use in paging grid.
Got it, thank you!