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

Summary rows for each grouping level

4 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jmillar
Top achievements
Rank 1
jmillar asked on 20 May 2009, 05:50 PM
Hello;

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

Thanks,
Jason

4 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 21 May 2009, 08:39 AM
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.
0
Accepted
Nadia Sangiovanni
Top achievements
Rank 1
answered on 05 Jul 2012, 04:50 PM
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!
0
Heradon
Top achievements
Rank 1
answered on 10 Apr 2013, 04:34 PM
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?
0
Jack
Telerik team
answered on 12 Apr 2013, 01:37 PM
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.
Tags
GridView
Asked by
jmillar
Top achievements
Rank 1
Answers by
Jack
Telerik team
Nadia Sangiovanni
Top achievements
Rank 1
Heradon
Top achievements
Rank 1
Share this question
or