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

Hierarchical grid default expansion

Thread ID:

Created:

Updated:

Platform:

Replies:

13549 Apr 30,2004 02:50 PM May 6,2004 09:49 AM Windows Forms 2
loading
Tags: GridControl
Jamie Hill
Asked On April 30, 2004 02:50 PM

I have a hierarchical grid that has 4 levels of data attached to it. Is there a way for me to programatically expand all items down to level x? The only expand methods I have been able to find are ExpandAll and ExpandAtRowIndex. I am looking for something along the lines of ExpandAtHierarchyLevel. Is this supported with this grid? Thanks, JH

Administrator [Syncfusion]
Replied On April 30, 2004 05:34 PM

No, there is no such API. You would have to use ExpandAtRowIndex. You could try looping through the grid rows and test the GridBoundRecordState.LevelIndex for each row to decide whether the expand it.

Administrator [Syncfusion]
Replied On May 6, 2004 09:49 AM

That is the way I ended up handling this. I was looking for a way that didn''t have me looping through the rows. Thanks for the help. >No, there is no such API. You would have to use ExpandAtRowIndex. > >You could try looping through the grid rows and test the GridBoundRecordState.LevelIndex for each row to decide whether the expand it.

CONFIRMATION

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.

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

;