PrimeNG DataTable server-side paging

Jonathan De Badrihaye picture Jonathan De Badrihaye · Aug 9, 2017 · Viewed 21.7k times · Source

I'm currently working on an Angular 4 project and using the PrimeNG DataTable. So far this framework seems pretty neat, but I would like to make my paging server-side. That way I will load only 10,20,.. records at a time rather than loading all 1000+ at once..

Has anyone done this before or does anyone know a solution for this?

PS: If you don't have a solution but know a framework that does support this, please let me know!

Answer

Pablo picture Pablo · Aug 28, 2017

Looks like Lazy is what we are... looking for :) https://www.primefaces.org/primeng/#/table/lazy