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