We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Multi Sort

Thread ID:





92579 Jan 22,2010 07:11 PM UTC Feb 17,2010 05:54 AM UTC WPF 3
Tags: GridControl
Asked On January 22, 2010 07:11 PM UTC

Hi, can the grid data be sorted on multiple columns?


Dhinesh Pandiyan M [Syncfusion]
Replied On January 25, 2010 11:15 AM UTC

Hi Asman,

Thanks for using Syncfusion products.

Grid Data Control supports multicolumn sorting. You can sort the grid data against more than one column by clicking the desired column headers holding the Ctrl key.

We can sort the multiple column in the code behind also. Use the below code,

dataGrid.Model.View.SortDescriptions.Add(new SortDescription("CustomerID", ListSortDirection.Ascending));
dataGrid.Model.View.SortDescriptions.Add(new SortDescription("CustomerName", ListSortDirection.Ascending));

Please let us know if you have any other questions.

With Regards,
Dhinesh Pandiyan

Replied On February 16, 2010 07:36 PM UTC

I see that the first selection is sorted. The second selection with CTRL pressed shows the sort arrow image but the data is not sorted as it changes. Am i missing anything?


Karthik Vishnu R [Syncfusion]
Replied On February 17, 2010 05:54 AM UTC

Hi Asman,

Thanks for using Syncfusion products.

This seems to be a bug. To resolve this issue please create a DirectTrac incident with the forum title as Incident Header. Our development team will update you with necessary details.

Let us know if you need more details.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon