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

Need default grouping, with drag and drop group, and aggregate support

1 Answer 292 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 06 May 2016, 07:07 AM

We have created a sample, which should support default column grouping, dynamic drag and drop column grouping with aggregate operations. The attached sample is not working with current code. It works fine after removing this part of code ",
                            group: {
                                field: "UnitsInStock",
                                dir: "asc"
                            }".

 

Let us know is it expected behaviour or not?

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 10 May 2016, 06:31 AM

Hello Karthik,

 

You need to define aggregates in the group, so that when you group aggregates will be available in the groupFooterTemplate. You will also have to define aggregates in the column in order to persist aggregates when you remove grouping and later add again group.

 

Another aggregates are in the DataSource directly, the are the "grand total" aggregates shown in the footerTemplate of the Grid.

 

I'm attaching the updated sample.

 

Regards,
Nikolay Rusev
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
Nikolay Rusev
Telerik team
Share this question
or