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

Dependent Sorting on columns of RadGrid

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Parul
Top achievements
Rank 1
Parul asked on 04 Jan 2011, 01:00 PM
Hi ,

I am using Telerik Radgrid in my WPF project and want to know that can i apply dependent sorting on three columns of my RadGrid ??
For eg : If i have 3 columns : CustomerName , CustomerId and CustomerCity.
Like the functionality we get in sql when we write ORDER BY (CustomerName , CustomerId and CustomerCity ) .

Thanks in advance !!!!!!!!

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 04 Jan 2011, 01:20 PM
Hello Parul,

Yes, that is possible. You can add several ColumnSortDescriptors to the SortDescriptors collection of RadGridView and it will be sorted by these columns.
On the client side - you can hold the shift key and sort by multiple columns.

Best wishes,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
Parul
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or