Search code examples
angularpaginationfilteringdropdown

Server Side pagination and filtering in Angular dropdown


I am working with a large data set. I have to populate the dropdown with millions of records. Hence I need pagination and filtering on the server-side, similar to the data table. We are using PrimeNG with Angular 8. However, PrimeNG does not provide any sort of serverside pagination.

Any dropdown with server-side pagination will work if they provide a solution in the Angular way.

Please suggest.


Solution

  • I started searching based on my requirement. Actually we have millions of datasets that we need to bind in the dropdown. Based on all the dropdown available in the Angular. I like the ng-slelect most. The ng-slelect provide infinite scrolling hook which did my work. It's called virtual scroll. My second choice is anything among Angular material and PrimeNG autocomplete. Though these two controls do not provide virtual scrolling. I found this article very useful.

    Thanks everyone for comment and help.