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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multilevel Sorting in GridControl

Thread ID:





20388 Oct 15,2004 01:29 PM UTC Oct 15,2004 01:39 PM UTC WinForms 1
Tags: GridControl
Supriya Thakur
Asked On October 15, 2004 01:29 PM UTC

Hi, How do I implement multi-level sort in Grid Control ? the user can sort on one of the columns and within the sorted rows, we need columns to be internally sorted as per content. e.g User sorts by Location, and the grid is also sorted by name column within the display. Thanks, Supriya

Administrator [Syncfusion]
Replied On October 15, 2004 01:39 PM UTC

You will need to implement an IComparer that takes into account multiple columns. I do not have a sample of doing exactly that, but Here is a sample that sorts column 4 by string length using a custom IComparer.


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

Live Chat Icon For mobile
Live Chat Icon