AD
Administrator
Syncfusion Team
July 6, 2006 03:25 PM UTC
Hi Wirawan,
In GridDataBoundGrid, you need to handle the sorting of hierarchical data yourself. Please refer to the following link for more details on sorting hierarchy data in GridDataBoundGrid.
Forum : http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9239.
In GroupingGrid, You can achieve this by adding the column in SortedColumns. The following is the code snippet
>>>>>>>>>>>>>>>>>>>>>>>>>>
GridTableDescriptor gd = this.gridGroupingControl1.GetTableDescriptor("MyChildTable");
gd.SortedColumns.Add("childID",ListSortDirection.Descending);
>>>>>>>>>>>>>>>>>>>>>>>>>>
Best regards,
Madhan