Ants24 / angular2-datatable-pagination

MIT License
6 stars 7 forks source link

server side pagination not Working #6

Open GaneshSinghPapola opened 6 years ago

GaneshSinghPapola commented 6 years ago

i found in page inside lib folder *ngIf="p.dataLength > p.rowsOnPage" and there was a check in another file that says if (this.isServerPaginationage) this.onServerPageChange.emit({ activePage: this.activePage, rowsOnPage: this.rowsOnPage, dataLength: this.amountOfRows });

so here dataLength is amountOfRows that we are sending through html directive, but it does not seems to work..

in server side pagination there should be 10 records in mfTableData only and footer also be shown so that we can query for next 10 records. In your example folder you are getting all data once and slicing it according to rowsOnPage and AmountOfRows.. But i need only 10 records once instead of all data once and slicing it..????