Has something changed in the latest version of the grid? I have a column on my grid that is bound to a boolean field. It has a template to display a checkmark icon for true and nothing for false. However, the column is automatically displaying a checkbox and my template is being ignored. I've used the same code in other projects so I'm not sure what I'm missing. The only change is the version of telerik I'm using - 2018.1.22.1.
Any ideas?
Here's my code:
@(Html.Kendo().Grid<QuoteViewModel>()
.Name("QuotesGrid")
.BindTo(Model)
.Resizable(resizable => resizable.Columns(true))
.Columns(columns =>
{
columns.Bound(x => x.Quote.Name).Width(100);
columns.Bound(x => x.Quote.Quote_Name__c).Width(300);
columns.Bound(x => x.Quote.Customer).Width(300);
columns.Bound(x => x.Quote.Project_Scope__c).Title("Project Scope");
columns.Bound(x => x.HasSubsOrRentals).Title("Has Sub or Rentals?").ClientTemplate(
"# if(HasSubsOrRentals) { #" +
"<span class='glyphicon glyphicon-ok text-success'/>" +
"# } else { #" +
"<span />" +
"# } #"
);
}))