Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 4x 84x 84x 4x 4x 4x 4x 20x 42x 42x 2x 4x | <h1 class="title">Device setups</h1>
<p-table [value]="setups" [paginator]="true" [rows]="10"
[rowsPerPageOptions]="[10, 20, 50]" [showCurrentPageReport]="true"
currentPageReportTemplate="{first} - {last} of {totalRecords} setups" [rowHover]="true">
<ng-template pTemplate="header">
<tr>
<th pSortableColumn="name">Setup id <p-sortIcon field="frequency"></p-sortIcon></th>
<th pSortableColumn="device_id">Active <p-sortIcon field="code"></p-sortIcon></th>
</tr>
</ng-template>
<ng-template pTemplate="body" let-setup>
<tr [routerLink]="['/device-setups', setup.id]">
<td >#{{ setup.id.slice(20) }}</td>
<td>{{ setup.active }}</td>
</tr>
</ng-template>
</p-table>
|