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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

sorting the dispalyed hierarchy data

Thread ID:





46107 Jul 6,2006 03:44 AM UTC Jul 6,2006 03:25 PM UTC WinForms 1
Tags: GridControl
I Gusti Ngurah Wirawan
Asked On July 6, 2006 03:44 AM UTC

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

Administrator [Syncfusion]
Replied On 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


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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