Reputation: 4014
I have a datatable which has images in one of its columns.
The amount of rows reaches 900+ and I want to avoid the browser trying to load 900+ images given the resources it uses and the time it takes to load the page.
That's where the lazyload plugin seems to come as a rescue !!
http://www.appelsiini.net/projects/lazyload
The first page loads fine, but the images do not load when :
I see that there is a section for "Event trigger loading" on the lazy load plugin, but I'm not sure how I can use it.
Would be great if someone can point me in the right direction.
Note : By Datatables, I mean http://www.datatables.net
Edit : 8/27 - Forgot about this question. But I ended up implementing my own custom solution :)
Upvotes: 2
Views: 4541
Reputation: 4010
Have you tried DataTables server-side processing with pipelining example?
Here the author gave a solution of lazy loading data using pipelining.
Upvotes: 3