You need to sign in to do that
Don't have an account?
Displaying more than 500 records in lightning table visualforce
Hi,
1. We have created a lightning component and lightning application.
2. Referred lightning app in visualforce page to display the table of records.
When we are displaying the bulk records (more than 500), it is taking more time (>30 Sec) due to huge logic in the javaScript helper.
Instead of displaying all the 500 records at a time which is consuming more time, I want to load 5 records first later it can process for the remaining records.
If anyone of you having suggestions please let me know.
Thanks,
Srinivas
1. We have created a lightning component and lightning application.
2. Referred lightning app in visualforce page to display the table of records.
When we are displaying the bulk records (more than 500), it is taking more time (>30 Sec) due to huge logic in the javaScript helper.
Instead of displaying all the 500 records at a time which is consuming more time, I want to load 5 records first later it can process for the remaining records.
If anyone of you having suggestions please let me know.
Thanks,
Srinivas
You can achieve this by using jQuery datatables plugin which will handle the pagination and will fetch and display only the limited number of records.
Thanks,
Srinivas
Do you want to show 5 records per page till 500 records so that there would be 100 pages? Or do you want to display 500 records per page?
You can retrieve the first 5 records and set time interval for the remaining records . In this way you can retrieve the data at the earliest time .