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

2 posts, 1 answers
  1. Karthik
    Karthik avatar
    9 posts
    Member since:
    Sep 2014

    Posted 06 May 2016 Link to this post

    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?

  2. Answer
    Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 10 May 2016 Link to this post

    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.


    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top