skip to Main Content

Html – Create a table with elements in column

I have to create a table whith elements like: Header1 Header2 Header2 Data1 Data2 Data3 I have headers and data taken from api call. I have tried something like: <table class="table"> <div *ngFor="let element of apiResp"> <tr> <th>{{element.header}}</th> <td>{{element.data}}</td> </tr>…

VIEW QUESTION
Back To Top
Search