akveo / akveo/ng2-smart-table

Add @Input() for total source count to allow server-side pagination

Aperta
#916 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
1.6k
Fork
867
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Feature request:**

The pagination of this component is so beautiful.
The data I'm receiving from the server is `{data: Array(10), count: 93}` for instance

I wish the innate pagination component had the option to receive the count parameter to allow the same paging calculation (`Math.ceil ( arrayLength / perPage)`)

And then use the paging event output to fetch new data accordingly.

I would really not mind and be happy to do it myself if you would like, following any of your contribution guidelines

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.