This question is locked. New answers and comments are not allowed.
In one of the Telerik Grid, I have a column like this.
columns.Template(
@<text>
@(item.BoolField ? "Open" : "Closed")
</text>
).Title("Status");
It works fine when used with .DataBinding(databinding => databinding.Server(). How to do the same when using the Ajax binding using .DataBinding(databinding => databinding.Ajax(). Other than adding a display value in the view model (to have Open/Close), is there a way to deal with this in the view itself?
columns.Bound(m => m.MerchantInfo.BoolField)
.ClientTemplate("<#= BoolField #>")
.Title("Status");
columns.Template(
@<text>
@(item.BoolField ? "Open" : "Closed")
</text>
).Title("Status");
It works fine when used with .DataBinding(databinding => databinding.Server(). How to do the same when using the Ajax binding using .DataBinding(databinding => databinding.Ajax(). Other than adding a display value in the view model (to have Open/Close), is there a way to deal with this in the view itself?
columns.Bound(m => m.MerchantInfo.BoolField)
.ClientTemplate("<#= BoolField #>")
.Title("Status");