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
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 filed of the Kendo UI Grid widget holds a reference to the underlying Kendo UI DataSource object.
Regards,
Boyan Dimitrov
Telerik
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.
drag and drop support in the footer section is not supported by the Grid.
Regards,
Petyo
Telerik
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)
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