fix overlay datatable

This commit is contained in:
Çetin 2021-12-29 15:46:31 +03:00
parent c9f7c38af8
commit 904dc34f9c

View File

@ -44,9 +44,9 @@
</ng-template>
<ng-template pTemplate="body" let-rowData let-product>
<tr [pSelectableRow]="rowData">
<td>{{product.name}}</td>
<td><img src="assets/demo/images/product/{{product.image}}" [alt]="product.image" width="100" class="shadow-2"/></td>
<td>{{formatCurrency(product.price)}}</td>
<td style="min-width: 12rem;">{{product.name}}</td>
<td style="min-width: 10rem;"><img src="assets/demo/images/product/{{product.image}}" [alt]="product.image" width="100" class="shadow-2"/></td>
<td style="min-width: 12rem;">{{formatCurrency(product.price)}}</td>
</tr>
</ng-template>
</p-table>