Answers for "how to use ngfor in angular to style even table"

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

Code answers related to "how to use ngfor in angular to style even table"

Browse Popular Code Answers by Language