Summary rows for each grouping level

5 posts, 1 answers
  1. jmillar
    jmillar avatar
    35 posts
    Member since:
    Oct 2006

    Posted 20 May 2009 Link to this post

    Hello;

    Is it possible to add a summary row (top or bottom) for each grouping level to obtains subtotals at each level?

    Thanks,
    Jason
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 21 May 2009 Link to this post

    Hello Jason,

    Currently summary rows are available only at the last grouping level. We will add your suggestion as a feature request and will consider implementing it in one of our upcoming releases. If you have any other questions, please don't hesitate to ask.

    Sincerely yours,
    Jack
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Answer
    Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 05 Jul 2012 Link to this post

    Dear support,

    Is there any news about the fonctionnality describe above?

    Nadia

    -- Sorry I found my answer in another post
    this.radGridView1.MasterTemplate.ShowParentGroupSummaries = true;

    Regards!
  4. Heradon
    Heradon avatar
    2 posts
    Member since:
    Apr 2013

    Posted 10 Apr 2013 Link to this post

    Hi this is my problem:
    i have this report
    Client : cust1
    Product Price
    eggs        200
    oil             300
    Total       500

    Client : cust2
    Product Price
    eggs        200
    oil             200
    Total       400

    i would like to have at the end of report some summary like this
    cust1  500
    cust2  400

    how can i do?
  5. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 12 Apr 2013 Link to this post

    Hi Heradon,

    You can do this by using the summary functionality of RadGridView. Here is a sample:
    this.radGridView1.SummaryRowsBottom.Add(new GridViewSummaryRowItem());
    this.radGridView1.SummaryRowsBottom[0].Add(new GridViewSummaryItem("Price", "Total: {0}", GridAggregateFunction.Sum));

    Find further details in our online documentation and check the GridView >> Grouping >> Group Summaries example in our demo application.

    Do not hesitate to contact us if you need further assistance.
     
    All the best,
    Jack
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Back to Top