How to display x no.of recs and load y no.of more recs when scrolled(using bScrollInfinite,etc) ?
How to display x no.of recs and load y no.of more recs when scrolled(using bScrollInfinite,etc) ?
Hi all Datatables.net is awesome.. keep upi the good work..
I am aware of the infinite scroll facilities of datatable.. the options like iDisplayLength, bScrollInfinite, bDeferRender, bPaginate, etc
I know that iDisplayLength's count is used to display more rows in infinite scrolling.
My doubt is how to show 50 records first and then show 5 more records every time user scrolls
Thanks
I am aware of the infinite scroll facilities of datatable.. the options like iDisplayLength, bScrollInfinite, bDeferRender, bPaginate, etc
I know that iDisplayLength's count is used to display more rows in infinite scrolling.
My doubt is how to show 50 records first and then show 5 more records every time user scrolls
Thanks
This discussion has been closed.
Replies
I am afraid that the 'distance' scrolled is hard-wired in the code.
5 isn't many records to add at a time though!
Also have you considered using Scroller? It is effectively the replacement for infinite scrolling, which is verging on being deprecated these days...
Allan
Yeah will give a try on scroller too..
Let me check and get back if any issues.. thanks a lot for the solution allan..