I'm trying to add in custom conditions in the ClientTemplate using the guide here http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/faq
I have a checkbox in the child grid which i want to show a cross or a tick depending on the state.
columns.Bound(o => o.IsChecked).ClientTemplate(
"# if (IsChecked == true) { #" +
"<
i
class
=
'tickButton'
></
i
>" +
"# } else { #" +
"<
i
class
=
'crossButton'
></
i
>" +
"# } #"
);
However, doing this, i get the error message "Uncaught ReferenceError: IsChecked is not defined"
What is the correct way to get this columns bound value?