I´m develop an application that call a microservices and these return de next JSON:
{
"result": "OK",
"message": null,
"columns": [
{
"name": "Id-1",
"order": 0,
"values": [
{
"value": "cf"
},
{
"value": "13"
},
{
"value": "9c"
},
{
"value": "5a"
},
{
"value": "1c"
},
{
"value": "45"
},
{
"value": "b"
}
]
},
{
"name": "Name",
"order": 1,
"values": [
{
"value": "prueba"
},
{
"value": "TEST"
},
{
"value": "Op"
},
{
"value": "Op"
},
{
"value": "P"
},
{
"value": "PruebaTest"
},
{
"value": "nal"
}
]
}
]
}
The idea is that in my table show in <th> the columns name and in <td> the values. Something like this:
I tried to do it with several *ngFor but i can´t get the right result How i can do this?

Array.map(). And perhaps you want to transpose values to haverowsinstead ofcolumns