Thursday, September 10, 2020

 

How To Implement Infinity Or Lazy Loading In Salesforce Lightning DataTable

lazy loading lightning datatble

From developer console >> file >> new >> Apex Class

Apex Class : AccountTableController.apxc

From developer console >> file >> new >> Lightning Component 

Lightning Component : infinityLoading.cmp

JavaScript Controller : infinityLoadingController.js

JavaScript Helper: infinityLoadingHelper.js

Check code comments.

Infinity Loading Component Output :

lazy loading lightning datatble

 

No comments:

Post a Comment