How to use a Lazy loading while having bulk data in datatable?
How to use a Lazy loading while having bulk data in datatable?
abvyas
Posts: 0Questions: 3Answers: 0
How to use a `Lazy loading while having bulk data in datatable?
I have 50k + data in my server call. when i am going to bind the datatable it will freez brower for some time.
Can you please suggest me, what is the best way to bind bulk data in datatable?
This discussion has been closed.
Replies
Check the discussion here.
https://www.datatables.net/forums/discussion/3947/data-lazy-loading
Yes, one option is to use server-side processing. The other is to load data in chunks using Ajax and then just add them to the table using
rows.add()
as and when you load the data.Obviously the downside of loading it in chunks is that the full data set won't be available until the loading has finished, so ordering and filtering might not be complete until that time.
Allan