The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a problem i cannot resolve.
My problem is if have a dataset with relation in it, i bind the parent table to grid and if i want to sort the parent table i just use the defaultview property of table. My question is how to sort the child data table?
regards
wirawan
ADAdministrator 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