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. Image for the cookie policy date
close icon

sorting columns using a hierarchical GDBG

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon