I have 50k recods in my db. i don't want to put all the records on screen at once. is their a way to perform lazy loading Reactive Web App 

Hello Anad,

If you scaffold a list and detail screen for your entity by dragging the entity to a UI flow, OutSystems will include automatically the logic to do paging. Knit will only retrieve X records at a time.

For more information see

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Creating_and_editing_Tables/Table_pagination_and_sorting

Regards,

Daniel

Daniël Kuhlmann wrote:

Hello Anad,

If you scaffold a list and detail screen for your entity by dragging the entity to a UI flow, OutSystems will include automatically the logic to do paging. Knit will only retrieve X records at a time.

For more information see

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Creating_and_editing_Tables/Table_pagination_and_sorting

Regards,

Daniel

 Hi Daniel,

Is their is any other way like "Load More" button if you click that load more button in that case how shall we proceed. If you click on "Load More" button it will retrieve suppose 10 records and then again click on button will retrieve next 10 records below it like lazy loading.


thanks...

RH  

 

Did you try what I described, did you see how it works? There are buttons 1, 2 ,3 and next to go forward s or backwards thru the data.

Why can't you use paging? Inspect the code and see how it is done.

Daniël Kuhlmann wrote:

Did you try what I described, did you see how it works? There are buttons 1, 2 ,3 and next to go forward s or backwards thru the data.

Why can't you use paging? Inspect the code and see how it is done.

 Yes Daniel, I completely agree with what you mentioned about pagination.

My concern is that if we have structure like lazy loading mention in my post above then it will be easy for the customers to see the records at the glance by scrolling up and down. User don't have to click on number pagination to see the particular record that he wanted.


thanks...    

 

Daniël Kuhlmann wrote:

Hello Anad,

If you scaffold a list and detail screen for your entity by dragging the entity to a UI flow, OutSystems will include automatically the logic to do paging. Knit will only retrieve X records at a time.

For more information see

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Creating_and_editing_Tables/Table_pagination_and_sorting

Regards,

Daniel

 thank you very much sir for your quick response.
what if I have a page in which images are their with infine scroll

Regards

 

Maybe it is worth while reading the following post and the posts it references. It discusses lazy loading for OutSystems mobile app, but same should be applicable for reactive too:

https://www.outsystems.com/forums/discussion/56494/lazy-loading-mobile/