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

Group without a sort?

2 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deborah
Top achievements
Rank 1
Deborah asked on 13 Jun 2012, 09:57 PM
We have a set of report types with a defined display order. For example, we want the Customer Reports, then the Financial Reports, then the Accounting Reports. Is there a way to group without sorting on the grouped column? I tried passing a null in for the sort order, but that just sorted ascending.
Thanks!

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Jun 2012, 06:51 AM
Hello Deborah,

Please refer to the following forum thread which discusses the same topic:
http://www.telerik.com/community/forums/winforms/gridview/new-problem-about-group-descriptor.aspx 

Kind regards,
Nikolay
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Deborah
Top achievements
Rank 1
answered on 14 Jun 2012, 02:48 PM
Thank you for your reply.

I ended up changing the code to group by the DisplayOrder field and then used the GroupSummaryEvaluate event to change from the DisplayOrder to the string text that I wanted to display. This will work as long as no one ever defines duplicate display order fields.

Thanks again.
Tags
GridView
Asked by
Deborah
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Deborah
Top achievements
Rank 1
Share this question
or