Pages access to large data via REST

Pages access to large data via REST

molimoli Posts: 2Questions: 2Answers: 0

I've added a REST source to a datatable and found out that it loads all the data from the source first before it renders the rows.
Is there a way to only provide a reasonable ammount of data (e.g. 100 rows per go) or to page it by the "next"/"prev" buttons? What about the searchfield in such case? Will it have a different functionality to search within remote data?

Answers

  • kthorngrenkthorngren Posts: 20,425Questions: 26Answers: 4,794

    Datatables has a Server side processing mode which requires a server script that supports the SSP protocol. Your REST source probably won't conform to the protocol. You will need to handle the sorting, searching and paging functions based on what the REST API supports. Specifics of how to do this will depend on how this is handled by the REST API. Please post more info about the REST API so we can provide suggestions.

    Kevin

Sign In or Register to comment.