Answers for "ngfor on table rows"

0

ngfor display in html table

<table>
     <ng-container *ngFor="let group of groups">
         <tr><td><h2>{{group.name}}</h2></td></tr>
         <tr *ngFor="let item of group.items"><td>{{item}}</td></tr>
     </ng-container>
</table>
Posted by: Guest on August-16-2020

Browse Popular Code Answers by Language