Hi, I have this kind of data in my console.log :
- 0: Array(20)
- 0: {terms: {…}, xterms: {…},}
- 1: {terms: {…}, xterms: {…}}}
- 0: Array(120)
- 0: {terms: {…}, xterms: {…},}
- 1: {terms: {…}, xterms: {…}}}
- 0: Array(200)
- 0: {terms: {…}, xterms: {…},}
- 1: {terms: {…}, xterms: {…}}}
I stored the data into :
this.datalists = data;
and in my template file I managed to print out :
<ion-row class=“border-bottom” *ngFor=“let data of datalists; let i=index” >
{{data[i].name}}{{dat.name}}
the 2nd ngfor failed with a message : ERROR Error: Cannot find a differ supporting object ‘[object Object]’ of type ‘object’. NgFor
is there anyway I can multi loop nested data? as its not possible as now
thank you