I am trying to implement a GRID having columns with different images.
Folloing is the logic for showing 'IsLocked' and 'IsLocked' as a boolean (TRUE/FALSE) on the GRID. Those boolean values we pass through
the LIST 'SeriesValues'.
I have been asked to show different images for BOOLEAN values.
for excample
if 'IsLocked' ==TRUE then
show image1.ico
else
show image2.ico
<div data-bind="kendoGrid: { data: SeriesValues, columns: [{field: 'IsLocked', title: 'Is Locked', width: 150}, {field: 'IsValid', title: 'Is Valid', width: 150},
{field: 'PeriodEnd', title: 'Period End', template: '#= moment(new Date(PeriodEnd)).format(\'YYYY-MM-DD HH:mm\') #', width: 250},
{field: 'Quantity', title: 'Quantity', width: 150},
{field: 'QualityIndex',title: 'Quality Index'}], scrollable: true, sortable: true}" style="height: 200px"></div>
</div>