change the sort direction in ggc

hi all.
how can i change the sort direction of the grouped field in the GGC

1 Reply

AD Administrator Syncfusion Team March 12, 2007 02:18 PM UTC

Hi Shachar,

You can achieve this by adding the column in GroupedColumns collection. The following is the code snippet

>>>>>>>>>>>>>>>>>>>>>>>>>>
GridTableDescriptor gd = this.gridGroupingControl1.GetTableDescriptor("TableName");
gd.GroupedColumns.Add("ColumnName",ListSortDirection.Descending);
>>>>>>>>>>>>>>>>>>>>>>>>>>

Also refer to our evaluation center for more information
http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5

Best Regards,
Haneef

Loader.
Up arrow icon