Skip to content

server side pagination not Working #6

@GaneshSinghPapola

Description

@GaneshSinghPapola

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..????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions