Posted 11 November 2020, 11:55 pm EST
i have 10 columns name in json data all coming dynamically.but i want add dropdown filed where the col==country.
<wj-flex-grid [itemsSource]=“data”>
<wj-flex-grid-column *ngFor=“let col of columns” [header]=“col” [binding]=“col”>
<template wjFlexGridCellTemplate *ngIf=“col==‘country’” [cellType]=“‘CellEdit’” let-cell=“cell”>
<wj-combo-box [itemsSource]=“countries”[displayMemberPath]=“‘country’” [selectedValuePath]=“‘country’” [(selectedValue)]=“cell.value”>