I am trying to conditionally format a column of booleans to display "Yes" if true and "No" if false. I am following the example here, but it is not working. Regardless of the values in my "IsEnabled" column, it displays the same thing for every column. In the case below, it displays "Yes" for every row in the column even though "IsEnabled" is false. Please advise. Thanks.
columns.Bound(n => n.IsEnabled)
.Width(100)
.ClientTemplate(
"# if (IsEnabled) { #" + "Yes" +
"# } else { #" + "No" + "#}#");