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

Need to sort group totals

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul Kater
Top achievements
Rank 1
Paul Kater asked on 26 May 2010, 02:57 PM
Dear all,
I am preparing a report that calculates all kinds of things from an objectSource which gets its input from a database view.
The customer wants to only see certain total values which I have grouped. I do need all detail rows because of the selections that have to be made through report parameters, in order to show the right information.

Unfortunately, the customer also wants to be able to sort the report (being the totals) in a few ways. On a detail-level I know how to implement sorting using a dropdown list (I found that on the blog), but so far I have not been able to find a way to sort the report totals.

On http://www.telerik.com/help/reporting/p_telerik_reporting_group_sorting.html I found that there must be a way to do this, but the info on the page:

Gets a SortingCollection that defines the sort column(s), and their type and order for the Group
Collapse imageSyntax
C#
public SortingCollection Sorting { get; }

is not much help to me.

The report shows movie-titles, revenue and number of seats (yes, this is about a movie theatre), and I need to be able to sort those (title ascending, revenue or number of seats descending).

Is there a knowledgeable soul who can tell me how to do this?

Thank you!

Paul

1 Answer, 1 is accepted

Sort by
0
Paul Kater
Top achievements
Rank 1
answered on 27 May 2010, 10:09 AM
The solution proved too simple. There is a sorting option inside the group section.
Oops.
Tags
General Discussions
Asked by
Paul Kater
Top achievements
Rank 1
Answers by
Paul Kater
Top achievements
Rank 1
Share this question
or