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.

Sorting in GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

22973 Dec 30,2004 09:43 PM Dec 31,2004 01:00 AM Windows Forms 1
loading
Tags: GridControl
Maqsood Ahmed
Asked On December 30, 2004 09:43 PM

Hello! 1. Can I sort a column by clicking at its header? 2. Is there anyway to define default sorting? Thanx in advance. Maqsood Ahmed Kolachi Advanced Technologies http://www.kolachi.net

Administrator [Syncfusion]
Replied On December 31, 2004 01:00 AM

Take a look at the Grid\Samples\Quick Start\GridControlSort sample. It shos ho you can add some code to your project to support sorting in a GridControl. To do custom sorting you need an object that implements IComparer to define your object comparisons. The SortByColumn call used in the above referenced sample accepts an IComparer object to allow for custom sorting.

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.

;