I'm trying to use 2 * ngFor in the same ion-row. First I tried the following:
<ion-row *ngFor="let mes of meses" *ngFor="let por of arrayPorc">
<ion-col width-25>{{mes}}</ion-col>
<ion-col width-25>{{por}}</ion-col>
<ion-col width-25></ion-col>
<ion-col width-25></ion-col>
</ion-row>
Then I tried this way:
<ion-row *ngFor="let mes of meses;let por of arrayPorc">
<ion-col width-25>{{mes}}</ion-col>
<ion-col width-25>{{por}}</ion-col>
<ion-col width-25></ion-col>
<ion-col width-25></ion-col>
</ion-row>
In neither of these two ways have I been able to display the calculated values in TypeScript. Note. I tested the arrays individually and they are working. The only question is how to display two arrays with * ngFor in the same ion-row.
What is it like?
Thank you!