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.
Unfortunately, activation email could not send to your email. Please try again.

Multilevel Sorting in GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

20388 Oct 15,2004 09:29 AM Oct 15,2004 09:39 AM Windows Forms 1
loading
Tags: GridControl
Supriya Thakur
Asked On October 15, 2004 09:29 AM

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 09:39 AM

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.

CONFIRMATION

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.

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.

;