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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multi-level hierarchical grid

Thread ID:





2909 Feb 19,2003 04:24 PM UTC Feb 20,2003 12:43 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On February 19, 2003 04:24 PM UTC

Hi, I am trying to get a multi-level hierarchical grid working. My data can be of any levels i.e. each record could be 1, 2, 3, 4, 5 ... n levels. I tried modifying the CustomersVert grid LoadCustomers() method. It is not working. Can you let me know how to get multi-level hierarchies working? Please find the attached sample. thanks, - Reddy

Administrator [Syncfusion]
Replied On February 19, 2003 08:45 PM UTC

Hi Reddi, I modified your sample. The original idea with such scenarios is that you add hierarchy levels on demand. I do that in the code in the RowExpanding event handler. However, I found there is some issue right now in the grid that when the first record in a hierarchy has no children, you won't be able to add children levels. We will look into this and enable better support for such scenario in the next version. Right now this does not work very well. Stefan

Administrator [Syncfusion]
Replied On February 20, 2003 12:43 PM UTC

Stefan, As you said, it is not working properly. The Hierarchical grid should show the vertical lines from the tree expansion node(with plus or minus) to the child nodes and offset the child nodes from parent node. Otherwise, the user will have no idea about the child-parent relationship. VirtualTreeGrid sample is excellent in this aspect, showing the vertical lines and ofsetting the cells. But it will not work with complex tree structures with multiple nodes with child nodes with child nodes i.e. there will be multiple vertical lines per cell. Hope these things will be added to the next release iwht better support for hierarchical grid. thanks, - Reddy


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

Live Chat Icon For mobile
Live Chat Icon