NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.86k stars 3.92k forks source link

list pagination #6134

Open happy2909 opened 3 years ago

happy2909 commented 3 years ago

Reproduction link

https://stackblitz.com/edit/angular-eavqdc

Steps to reproduce

pagination is not working

What is expected?

working like pagination of table

What is actually happening?

pagination is not working

Environment Info
ng-zorro-antd 9.1.0
Browser chrome
yangjunhan commented 3 years ago

The current design of list pagination is different from table's. It requires you to page the data content at your demo component level since as you can see, you are not passing the data into the nz-pagination.

timothyBrake commented 2 years ago

Can you please make this work as there is no documentation to help. This should work but the paging is not done and all items are always shown. How to fix this? https://stackblitz.com/edit/angular-kjpmet?file=src/app/app.component.ts

devstartshop commented 1 year ago

Here is the working example: https://stackblitz.com/edit/angular-kjpmet-hyykpy?file=src%2Fapp%2Fapp.component.ts