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 columns using a hierarchical GDBG

Thread ID:





45796 Jun 28,2006 08:15 PM UTC Jun 28,2006 09:01 PM UTC WinForms 1
Tags: GridControl
Nick M
Asked On June 28, 2006 08:15 PM UTC

Hi, I am representing my hierarchical data with a GDBG. The goal is similar to that of the VirtTreeGrid sample, except I''ve used the GDBG control to manage the hierarchy rather than the basic Grid control. What I want to do: I''d like to sort the 2nd level hierarchy columns when the user clicks on the top level column headers (2nd and 3rd level column headers are hidden). I *think* this can be done in a manner similar to the CustomGridCell sorting sample I''ve seen posted elsewhere in this forum. That sample uses just a plain grid control, but uses the QueryCellInfo event to populate cells with data sorted in a seperate structure. My question: Is this also practical solution for the GDBG control? Thanks, Nick

Administrator [Syncfusion]
Replied On June 28, 2006 09:01 PM UTC

Hi Nick, This is not directly supported in a GridDataBoundGrid (it is supported using a GridGroupingControl). You will have to handle this yourself. There is a solution discussed in below forum thread. Here is a link. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9239. Please refer this forum thread for VirtTreeGrid sorting. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=44006 Let me know if this helps, Best Regards, Haneef


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

This page will automatically be redirected to the 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