Reputation:
I have a Telerik MVC Grid like
<% Html.Telerik().Grid<Model>()
.Name("Athletes")
...
.Columns(columns =>
{
columns.Bound(a => a.IsNew)
.ClientTemplate("<span <#= IsNew ? \"class='t-icon t-update'\" : \"\" #>></span>")
...
What ClientTemplate does is to display an icon of yes checkmark in the column of grid if IsNew is true.
Now I want to make above code work in Kendo Grid and ClientTemplate. I am not sure how to do it. "t-icon" and "t-update" look like icon image but I can not find them in the project. I need help on this. Thanks.
Upvotes: 0
Views: 244
Reputation: 18402
Inspect the CSS of the span element - the icons are most likely part of a sprite. (background:url
with offsets)
Upvotes: 0