Hello,
We want to use a bound datasource that has many fields. We need the tree to show all the specified column labels as in the WinGrid.
For example:
Name Age Sex
- J 12 M
L 15 12
Here L is the child of J. Collapsing J will collaps all its children, but when expanded it should show all its columns.
But with the current Tree I can only show the display column!
I'm afraid I do not understand your question.
Sorry for writing it vague.
I meant been able to display in hierachical view using the WinTree. The WinTree should display all the other columns as well.
In the above example, the main column is 'Name' and the other columns are 'Age' and 'Sex'. In the WinTree I can only show the 'Name' and not the 'Age' and 'Sex'.
I can achive this in WinGrid using Grouping of the column, but the WinGrid does not have hierarchy as in the WinTree; WinGrid does the hierarchy only one level deep.
Thanks!
I found the solution.
Hi,
I'm afraid I still do not understand your question.
Both UltraWinGrid and UltraWinTree support the display of hierarchical data and multiple columns.
If you want to do this in the grid, you will need to create a DataSource of some kind that has the hierarchical data you want.
To do this in the tree, you can either use a data source or manually add nodes to the tree. If you want to do this manually, you need to set the ViewStyle on the tree and set up your ColumnSets with the columns you want.