fix overlay datatable
This commit is contained in:
parent
c9f7c38af8
commit
904dc34f9c
@ -44,9 +44,9 @@
|
|||||||
</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>{{product.name}}</td>
|
<td style="min-width: 12rem;">{{product.name}}</td>
|
||||||
<td><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>{{formatCurrency(product.price)}}</td>
|
<td style="min-width: 12rem;">{{formatCurrency(product.price)}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-table>
|
</p-table>
|
||||||
|
Loading…
Reference in New Issue
Block a user