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

sum total of another Column

3 Answers 484 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 26 Sep 2014, 05:50 AM
Hii,



   Can I show the total sum value of another Column to Current Header Row.

Please help me. it's urgent.

Here I want to show Disbursal Count sum Total group by Zone to header row of Zone Row as per my attachment.




Thanks,

Manoj Kumar
+91 9019625350

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 30 Sep 2014, 06:57 AM
Hello Manoj,

Currently you can only get the other columns aggregates in the footer template. The following snippet shows ProductName aggregates in the UnitsInStock column:

{
 field: "UnitsInStock", title: "Units In Stock",
 footerTemplate: "Aggregate for ProductName: #=data.ProductName.count#",
 groupHeaderTemplate: "Units In Stock: #= value # (Count: #= count#)"
}


Here is a runnable example: http://dojo.telerik.com/@rusev/ozuz.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Guillaume
Top achievements
Rank 1
answered on 17 Dec 2018, 04:19 PM

[quote]Nikolay Rusev said:Hello Manoj,

Currently you can only get the other columns aggregates in the footer template.[/quote]

Is this still true ?

0
Alex Hajigeorgieva
Telerik team
answered on 19 Dec 2018, 12:36 PM
Hi, Guillaume,

I am pleased to let you know that the aggregates are now available in the Kendo UI Grid groupHeaderTemplate as well.

For the full list of accessible properties, see the documentation reference at:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.groupheadertemplate

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Manoj
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Guillaume
Top achievements
Rank 1
Alex Hajigeorgieva
Telerik team
Share this question
or