How to apply custom sorting

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon