How to do paging in AngularJS?

后端 未结 21 2190
轮回少年
轮回少年 2020-11-22 07:17

I have a dataset of about 1000 items in-memory and am attempting to create a pager for this dataset, but I\'m not sure on how to do this.

I\'m using a custom filter

21条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 07:54

    I use this 3rd party pagination library and it works well. It can do local/remote datasources and it's very configurable.

    https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination

    
        
    

提交回复
热议问题