Blogs

DevExpress Reporting Blog

Sort Groups by Summary (Coming in v2010 vol 2)

     

There are many times where we would like to sort a report by aggregate data contained in a group. This feature has now been added in v2010.2. The following report is a sales report grouped by product category and sorted by cumulative sales in each category (descending). Take a look:

Sales Report by Categroy

Now when viewing the properties of a group header you have the ability to create a Sorting Summary for the given group. This can be defined directly in the Group Header Band properties or by invoking the Group Sorting Summary Editor with the ellipsis button.

SummaryDialogs


The process for setting it up is straight forward!
  1. Bind your report to a table and/or array of objects
  2. Add a grouping in the Group and Sort property window
  3. Set the  Group Sorting Summary properties as above
GroupProperties

That’s it!


As always, if there are any questions and/or comments please get a hold of me!

Seth Juarez
Email: sethj@devexpress.com
Twitter: @SethJuarez

Published Oct 28 2010, 03:40 PM by Seth Juarez (DevExpress)
Bookmark and Share

Comments

 

Sigurd Decroos said:

Nice addition to the reports!

Please, show us more about embedded Childreports, I'm really waiting for that feature.

October 28, 2010 9:01 PM
 

Mark Bissett 2 said:

I'll second Sigurd's comment.

October 29, 2010 3:10 AM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.