How to handle big data coming through REST API?

0
Hi team! I am working in a project, In which I am consuming REST service. What is the best practice to handle large amount of data coming by get method. And is there any way to show limited data to the user like if I am receiving 10k rows of data and I want to display only 2k rows of data, How can I achieve this?
asked
2 answers
1

Hi Chaitanya, 

 

You could reuse one of the marketplace widgets which allows for pagination of the list view: List view Paging (https://marketplace.mendix.com/link/component/113460

 

This will allow for retrieving only the number of records from the REST API which you really need to display to the user at once. If, on the other hand your requirement is different, do let me know and I will adjust. Good luck! 

 

Best regards, 

   Bart 

answered
0

See documentation here: https://docs.mendix.com/appstore/modules/data-grid-2

It is point 3 Pagination.

Regards,

Ronald

 

answered