Check out example codes for "ngfor display in html table". It will help you in understanding the concepts better.

Code Example 1

<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>

Learn ReactJs, React Native from akashmittal.com