Hi Team,
I want to show the sum of a decimal data type column at the bottom of child grid column in kendo ui mvc 4?
I am using below approach but always getting the sum as 0. Please guide on this.
I want to show the sum of a decimal data type column at the bottom of child grid column in kendo ui mvc 4?
I am using below approach but always getting the sum as 0. Please guide on this.
.Columns(columns => { //.. columns.Bound(p => p.amount) .HeaderTemplate("Amount") .ClientFooterTemplate("Sum: \\#=sum\\# "); //.. }).DataSource(dataSource => dataSource .Ajax() .Aggregates(aggregates => { aggregates.Add(p => p.amount).Sum(); }) .Read(read => read.Action("Invoice_Read", "ProjectsInvoice", new { projectCode = "#=projectCode#" })) )