<p-table [value]="sensorItems" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true">
    <ng-template pTemplate="caption">
        Monitored Items
    </ng-template>    
    <ng-template pTemplate="body" let-sensor let-rowIndex="rowIndex">
        <tr [pSelectableRow]="sensor">
            <td>{{rowIndex + 1}}</td>
            <td>{{sensor.Description}}</td>
            <td>{{sensor.status.name}}</td>
            <td>{{sensor.crawler.name}}</td>
            <td>???</td>
            <td>{{sensor.createDate | date: 'dd.MM.yyyy'}}</td>
        </tr>
    </ng-template>
</p-table>