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..????
i found in page inside lib folder
*ngIf="p.dataLength > p.rowsOnPage"
and there was a check in another file that saysif (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
andAmountOfRows
.. But i need only 10 records once instead of all data once and slicing it..????