Code: Select all
<p-table [columns]="cols" [value]="cars"
selectionMode="single"
dataKey="vin"
[(selection)]="selectedCar"
[style]="{'margin-bottom':'20px'}"
[scrollable]="true"
scrollHeight="175px"
>
....