Hi
I have a case when a table gets its data from a RESTful API. The table displays only 20 rows per page but the amount of rows may reach hundreds. Implicitly, the table pagination is a must. Per my knowledge, refresh data can’t be performed on a RESTful API action result.
I do have an idea but not sure it will work. Please advice on how I can accomplish this action.Thanks
The best approach would be to implement the pagination control parameters (FirstRecord, NumberofRecords) in your REST API. So that you can fetch only the data you to display at your page in the proper page. And then create a navigation bar at your page to controle the current page and so on.
If you can't change your API, it's really bad! But you can try, althoug it's not advisable, to put the results into a List and create the pagination controle upon your List.
Additionally, take a look at this post: https://www.outsystems.com/forums/discussion/18363/pagination-of-restful-api-response/