I have a following consoled list of array how can i display the list?
I tried
this.item = this.data.["0"] // this is throwing an error
is there any other workaround to achieve this?
You have an array in an array.
To display the list, you have to loop over the items in the array. Because your output is an array in an array, you can start the loop from the first element of the outer array.
Example:
<ion-list>
<button ion-item *ngFor="let item of items[0]">
{{ item.item_id }}
</button>
</ion-list>
Assuming your parent array is called data you can access the first element by using this.data[0]. You can also do other things such as loop over the items in the array, etc.
<div *ngFor="let a of data" > {{a.itemId}} <p *ngFor="let b of data.size">{{b.size}}</p> <p *ngFor="let c of data.price">{{c.price}}</p> </div>