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

need to display aggregations for Group footer template and footer template with drag and drop grouping

5 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 25 Apr 2016, 12:10 PM

We have a requirement of displaying aggregations grouping in group footer template and footer template. And we want column drag and drop feature for grouping as well. 

We tried with attached code, but we were not able to achieve it.

5 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 27 Apr 2016, 07:44 AM

Hello Karthik,

I am not sure that I understand what functionality the provided code should achieve. When the groupable option is enabled for the Kendo UI Grid user is allowed to drag and drop specific column to the drop zone in order to group the Kendo UI Grid by this column. This functionality works fine with the provided sample code (please refer to the screen cast). 

On the other if the main goal is to group the Kendo UI Grid programatically (on button click for example) then the Kendo UI DataSource API should be used and specifically the group method. This is required since all operations such grouping, filtering and etc are performed on DataSource level. 

The following articles might be helpful resource to learn more about the Kendo UI DataSource: 

  - DataSource Overview.  

   - dataSource filed of the Kendo UI Grid widget holds a reference to the underlying Kendo UI DataSource object. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Karthik
Top achievements
Rank 1
answered on 27 Apr 2016, 12:28 PM

Hi Boyan,

I want aggression for "group footer section" and "footer section" with drag and drop of grouping. In the example which i have attached is showing only "group footer section", but not "footer section". So, please help me to fix it.

0
Petyo
Telerik team
answered on 02 May 2016, 06:06 AM
Hi,

drag and drop support in the footer section is not supported by the Grid. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Karthik
Top achievements
Rank 1
answered on 03 May 2016, 02:29 PM

Hi Petyo,

My question was, is it possible to show total summary and grouped summary in the footer (provided we should able to group columns by drag and drop as usual )?

In my attachment, you can find that i am not able to achieve overall summary (highlighted with red background in footer section) 

0
Boyan Dimitrov
Telerik team
answered on 05 May 2016, 07:25 AM

Hello Karthik,

The total/group summary can not be shown in the pager section using the Kendo UI Grid API or any configuration options. A possible solution might be modifying the html of the pager section (for example to insert the group summary information), but it is not supported by the Kendo Grid. We do not suggest modifying the html ouptut, because it is very likely to cause some unexpected behavior in some cases. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Karthik
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Karthik
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or