Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
509 B
0
Indexable
Never
 <ng-template
        pTemplate="body"
        *ngIf="groupRow"
        let-item
        let-rowgroup="rowgroup"
        let-rowspan="rowspan"
    >
        <tr>
            <td *ngIf="rowgroup" [attr.rowspan]="rowspan">
                {{ item.id }}
            </td>
            <td *ngFor="let product of products">
                {{ partition.topic }}
            </td>
        </tr>
    </ng-template>


{
id:1,
products:[
{name,'Toy',price:15},
{name,'Car',price:25},
.....
]
}
Leave a Comment