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

Group manual sorting

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 19 Sep 2016, 07:21 AM

I use ColumnGroupDescriptor to group the GrieView 

<telerik:RadGridView.GroupDescriptors>
                <telerik:ColumnGroupDescriptor x:Name="columnGroupDescriptor" Column="{Binding Columns[\ContactTitleWithConverter\], ElementName=ESColumnGrid}"  SortDirection="Descending"/>
</telerik:RadGridView.GroupDescriptors>

the group sort  is according to the binding field  Ascending or Descending  

but my group is constant  for example   a,b,c  

Is any way to manual  sort the group for example as b c a

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Sep 2016, 12:09 PM
Hi Rui,

The built-in mechanism for such requirements is to use a GenericGroupDescriptor. Please take a look at the Sort Group by Different Property SDK Example. It can be reviewed through the SDK Samples Browser.

Hope this helps.

Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
rui
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or