This is a migrated thread and some comments may be shown as answers.

adding images to a column in kendo grid

1 Answer 1213 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 23 Nov 2012, 11:15 PM
if I wanted to have a column with just visual icons, png files representing the status of a ticket on each row for open or closed states, what's the best way to go about doing that with the kendo grid? 

if I were to use templates it'd be something like this

<td>{{status}}</td>
<td><img src="img/{{status}}.png" class="{{status}}" /></td>

1 Answer, 1 is accepted

Sort by
0
Phil
Top achievements
Rank 1
answered on 24 Nov 2012, 03:38 PM
figured it out

additional column {template: "<img src='#= status #.png' />"}

Tags
Grid
Asked by
Phil
Top achievements
Rank 1
Answers by
Phil
Top achievements
Rank 1
Share this question
or