Posted 26 October 2018, 2:37 am EST
I’m trying to create a grid based on a complex datasource.
so far I have something like:
<wj-flex-grid [itemsSource]=“items” [selectionMode]=“‘Row’” [autoGenerateColumns]=“false” #grid>
<wj-flex-grid-column [header]=“Name” [binding]=“‘name’” [width]=“300”>
<ng-template wjFlexGridCellTemplate [cellType]=“‘Cell’” *ngFor=“let item of items, let i=index” let-item=“item”>
{{item.value}}
the items in the itemsource has a property which is a collection how would I iterate it?
if I try *ngFor=“let item of items.myCollection” it would not work nor *ngFor=“let item of myCollection”
could you please advise?
