]>
Commit | Line | Data |
---|---|---|
1 | <p-dataTable | |
2 | [value]="followers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" | |
3 | sortField="createdAt" (onLazyLoad)="loadLazy($event)" | |
4 | > | |
5 | <p-column field="id" header="ID" [style]="{ width: '60px' }"></p-column> | |
6 | <p-column field="follower.host" header="Host"></p-column> | |
7 | <p-column field="follower.score" header="Score"></p-column> | |
8 | <p-column field="state" header="State"></p-column> | |
9 | <p-column field="createdAt" header="Created date" [sortable]="true"></p-column> | |
10 | </p-dataTable> |