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

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

    Posted 25 Apr 2016 Link to this post

    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.

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 27 Apr 2016 Link to this post

    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!
     
  3. Karthik
    Karthik avatar
    9 posts
    Member since:
    Sep 2014

    Posted 27 Apr 2016 Link to this post

    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.

  4. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 02 May 2016 Link to this post

    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!
     
  5. Karthik
    Karthik avatar
    9 posts
    Member since:
    Sep 2014

    Posted 03 May 2016 Link to this post

    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) 

  6. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 05 May 2016 Link to this post

    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!
     
Back to Top