This is a migrated thread and some comments may be shown as answers.

[Solved] ClientFooterTemplate not aligning

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
william
Top achievements
Rank 1
william asked on 02 Dec 2011, 05:38 PM
HI All,
I have the following bound column. The data right justifies, but not the Totals???
columns.Bound(pz => pz.GrossSum).Title("Gross").Format("{0:0.00}").Width(60).HtmlAttributes(new { style = "text-align:right" })
                    .Aggregate(aggregates => aggregates.Sum())
                    .ClientFooterTemplate("Total: <#= typeof Sum != 'undefined' ? $.telerik.formatString('{0:0.00}', Sum) : 0 #>");

1 Answer, 1 is accepted

Sort by
0
william
Top achievements
Rank 1
answered on 02 Dec 2011, 05:48 PM
Found the solution:

.FooterHtmlAttributes(new { @style = "text-align:right;" });
Tags
Grid
Asked by
william
Top achievements
Rank 1
Answers by
william
Top achievements
Rank 1
Share this question
or