I have a column that binds to an MVC Model.
When the value is negative it should be displayed in red.
How is that done?
When the value is negative it should be displayed in red.
How is that done?
columns.Bound(e => e.UnrealizedGainLoss)
.Title("Unrealized Gain /<
br
> Loss ($)")
.HeaderHtmlAttributes(new {title = "Market Value and Book Value."})
.Format("{0:N}")
.ClientFooterTemplate("<
div
class
=
aright
>#= kendo.format('{0:N}', sum) #</
div
>")
.HeaderHtmlAttributes(new {@class = "aright"})
.HtmlAttributes(new {@class = "aright"});