2
votes

I am using the primeng datable component like this

<p-dataTable [value]="myModel" [paginator]="true" [pageLinks]="5" > <p-dataTable> 

Givent I am on a page other than 1 with sorting enable, if I modifiy myModel table, it resets my paginator to page 1... Has anyone been able to solve this ?

1

1 Answers

0
votes

Yes, and actually, it's pretty dumb, I was devastated by my own stupidity when I found this.

Question : is your datatable in a *ngIf="myModel" ?