Hello,
I'm trying to access one SUM of a column in ClientFooterTemplate of another ClientFooterTemplate...
You can access the other's column's values in regular ClientTemplate but not in ClientFooterTemplate.
Example (Asp.Net MVC):
In the code above I'm trying to access Spend in row 5. Which is the sum in row 2.
Any ideas will be helpful.
And I'm just trying to get the other column's sum and if I'm successful the final calculation will be much more complex.
Thanks,
-Arek
I'm trying to access one SUM of a column in ClientFooterTemplate of another ClientFooterTemplate...
You can access the other's column's values in regular ClientTemplate but not in ClientFooterTemplate.
Example (Asp.Net MVC):
1.columns.Bound(cd => cd.Spend).Width(90)2. .ClientFooterTemplate("<span style='float:right'>#= kendo.format('{0:c}', sum) #</span>")3. .ClientTemplate("<span style='float:right'>#= kendo.format('{0:c}', Spend) #</span>");4.columns.Bound(cd => cd.Cpc).Title("CPC").Width(75)5. .ClientFooterTemplate("<span style='float:right'>#= kendo.format('{0:N2}', Spend) #</span>")6. .ClientTemplate("<span style='float:right'>#= kendo.format('{0:N2}', Cpc) #</span>");Any ideas will be helpful.
And I'm just trying to get the other column's sum and if I'm successful the final calculation will be much more complex.
Thanks,
-Arek