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.
Syncfusion Feedback

How to apply custom sorting

Thread ID:

Created:

Updated:

Platform:

Replies:

49351 Sep 16,2006 11:59 AM UTC Sep 18,2006 03:51 AM UTC Windows Forms 1
loading
Tags: GridControl
Rajesh John
Asked On September 16, 2006 11:59 AM UTC

Hi,

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.

Regards,
Rajesh.


CS37.zip

Administrator [Syncfusion]
Replied On September 18, 2006 03:51 AM UTC

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..

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=44188

Thanks,
Haneef

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.

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

;