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.

How to apply custom sorting

Thread ID:





49351 Sep 16,2006 07:59 AM Sep 17,2006 11:51 PM Windows Forms 1
Tags: GridControl
Rajesh John
Asked On September 16, 2006 07:59 AM


I am using Syncfusion Grouping grid control version 3.3 in .Net framework 1.1.

There is a grouping grid in which records are grouped by the column “State”. While clicking on the group header, records are sorted in ascending/descending order. But I need to customize this sorting by displaying some groups (say: Ohio, Navada) at the top and the remaining groups should be sorted alphabetically. Is there any way to change the sort order of the grouping in the grid.

I have attached the sample application for the scenario.



Administrator [Syncfusion]
Replied On September 17, 2006 11:51 PM

Hi Rajesh,

This can be achieved by having a custom comparer and specifying it to the particular SortedColumn in the TableControlQueryAllowSortColumn event handler. This was shown in the forum thread..




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.