Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngfor #display #html #table
ADD COMMENT
Topic
Name
8+6 =