l-lin / angular-datatables

DataTables with Angular
https://l-lin.github.io/angular-datatables/
MIT License
1.57k stars 485 forks source link

Any plan for lazy loading + continuous scrolling #1516

Closed evijayan2 closed 3 years ago

evijayan2 commented 3 years ago

we need to load 100k data in DB, but we cant stream the data to the data table, the only way to get the data by range 1 to 1000, 1001 to 2000, like that, but we don't need pagination in UI, we need continuous scrolling.

shanmukhateja commented 3 years ago

Hi,

You might be looking for DataTables Scroller plugin. It could fit your usecase of having to load 100k dataset without pagination UI.

I believe we don't have docs for usage specific to Angular but it should be similar to others. I'll leave the enhancement label on to update docs about this extension.

evijayan2 commented 3 years ago

if the data in client-side, then the scroller plugin will be useful, but in my case, we need to retrieve the data page by page

shanmukhateja commented 3 years ago

As far as I remember, Scroller plugin uses pagination feature under-the-hood and as you scroll across the page, the content is fetched.

Could you provide a reproducible GitHub repo or StackBlitz link?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been closed due to inactivity. Please feel free to re-open the issue to add new inputs.