fix overlay datatable

This commit is contained in:
Çetin 2021-12-29 15:47:10 +03:00
parent 904dc34f9c
commit 83fa194fb6

View File

@ -44,7 +44,7 @@
</ng-template> </ng-template>
<ng-template pTemplate="body" let-rowData let-product> <ng-template pTemplate="body" let-rowData let-product>
<tr [pSelectableRow]="rowData"> <tr [pSelectableRow]="rowData">
<td style="min-width: 12rem;">{{product.name}}</td> <td style="min-width: 10rem;">{{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: 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> <td style="min-width: 12rem;">{{formatCurrency(product.price)}}</td>
</tr> </tr>