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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

hierarchy data

Thread ID:

Created:

Updated:

Platform:

Replies:

44006 May 10,2006 04:44 PM UTC May 11,2006 02:36 PM UTC WinForms 3
loading
Tags: GridControl
Hui Zhong
Asked On May 10, 2006 04:44 PM UTC

It''s possible to implement the Grid to display the hierarchy data? It''s just kind of combination of the tree view and a listview. For example, a company has global warehouse, and it''s distributors around the world by region, country, and ....The sales data is going to be displayed like: May June July Aug - Main warehouse -North America -USA -Canada -Europe -Germany So the columns are the same for all the nodes in the tree ( Root, SubNode, ...Leaf Node) Thanks. Hui

Administrator [Syncfusion]
Replied On May 11, 2006 09:44 AM UTC

Hi Hui, Please refer to the forum thread below, which will help you. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=43356 Also, Please refer to the Hierarchy sample in the browser samples shipped with the product \Syncfusion\Essential Studio\4.1.0.64\Windows\Grid.Windows\Samples\DataBound\Hierarchical sample Please let me know if you have any other questions. Thanks for using Syncfusion Products. Best Regards, Haneef

Hui Zhong
Replied On May 11, 2006 01:57 PM UTC

Hi Haneef: I already checked those examples before. My scenario is much simple compared with those examples. I don''t want to use the databound grid in this case, just populate the grid based a composite object, and columns for all nodes are the same. The data displayed is like a Treeview + ListView format. Thanks. Hui >Hi Hui, > >Please refer to the forum thread below, which will help you. >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=43356 > >Also, Please refer to the Hierarchy sample in the browser samples shipped with the product >\Syncfusion\Essential Studio\4.1.0.64\Windows\Grid.Windows\Samples\DataBound\Hierarchical sample > >Please let me know if you have any other questions. > >Thanks for using Syncfusion Products. >Best Regards, >Haneef

Administrator [Syncfusion]
Replied On May 11, 2006 02:36 PM UTC

Hi Hui, This browser sample displays an ordered flat datasource as a tree. Here the flat means that all rows in the datasource will contain the same columns. The ordered means that no row can be a child of a row with a higher row number. Every row has an indentation value associated with it. Given any row, only those rows adjacent (from below) to the given row with higher indentation values that are considered sub nodes in the tree for the given row. The first row following the given row with an indentation value the same or lesser than the given rows indentation value is not treated as a subnode of the given row. The implementation uses a CollapsibleDataSource class. This class has an Array object that holds an Array of SampleData objects (think of each of these objects as a row in the underlying grid). Each SampleData object has an IndentValue property, an ExpandState property and an Items string array that holds the different column values for this row. If you want to use a Virtual Tree Grid to hold your data, you will have to modify this SampleData class to use your data instead of the generic sample data that it provides. For more details,See the browser sample \Syncfusion\Essential Studio\4.2.0.11\Windows\Grid.Windows\Samples\In Depth\VirtTreeGrid Please refer to the attached sample for more details(it implements sorting). http://www.syncfusion.com/Support/user/uploads/TreeCellSort_cec5da54.zip Best Regards, Haneef

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

;