I am trying to generate a dynamic table by getting data from array. Please check the attached image in which there is the array of result which I am getting from API. I am trying to use keys as table headers and values as table data.
I have tried with *ngFor loop and through key value loop but I am not getting anything from array.
Below is the code chunk I am using:
<th style="text-align:center" *ngFor="let row of debugQueryData; index as i">{{row}}</th>
Moreover, I am getting data correctly in debugQueryData.
How can I write the correct loop to generate dynamic table?
