You need to sign in to do that
Don't have an account?
Amit Visapurkar 5
How to do lazy loading in lightning components
Hi,
I have a lightning component that displays a list of contacts with a show more button.However i want to have the lazy loading functionality for it the same as we can have for visualforce. Is this possible.
If yes can anybody share some relevant content.
Thanks
Amit Visapurkar
I have a lightning component that displays a list of contacts with a show more button.However i want to have the lazy loading functionality for it the same as we can have for visualforce. Is this possible.
If yes can anybody share some relevant content.
Thanks
Amit Visapurkar
In lightning dataTable there is a code sample for infinite loading. Heading as given below
Using Infinite Scrolling to Load More Rows
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_datatable.htm
This will help you
Regards
Ashif
https://newstechnologystuff.com/2018/09/19/lightning-data-table-with-lazy-loading/
https://inevitableyogendra.blogspot.com/2021/05/infinite-loading-in-lightning-datatable.html (https://inevitableyogendra.blogspot.com/2021/05/infinite-loading-in-lightning-datatable.html" target="_blank)
You will get many view and approaches to implement the solution.