In my column, i wish to display the client footer as a 2 decimal number, right aligned. How do I edit the ClientFooterTemplate to do that:
So far I have the sum appearing fine, just not formatted:
So far I have the sum appearing fine, just not formatted:
columns.Bound(e => e.MarketValue).Title("Mkt. Value ($)")
.ClientFooterTemplate("#=sum#")
.HeaderHtmlAttributes(new { style = "text-align: right;" })
.HtmlAttributes(new { @class = "aright" });