Привет Если вы работаете с угловым, вы можете использовать NgIf
import { Component } from '@angular/core';
import { sampleProducts } from './products';
@Component({
selector: 'my-app',
template: `
<kendo-grid [data]="gridData">
<kendo-grid-column field="ProductName">
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
<strong>{{dataItem.ProductName}}</strong>
<img *ngIf='dataItem.Discontinued' src='' alt='Item Discontinued'/>
<img *ngIf='!dataItem.Discontinued' src='' alt='Item Continued'/>
</ng-template>
</kendo-grid-column>
</kendo-grid>
`
})
export class AppComponent {
public gridData: any[] = sampleProducts;
}