I am binding a data set with 3 tables to a grid style UltraWinTree (v9.2). The structure is organized so that I have two top level 'bands' (data tables with various number of columns) and one child 'band' (another data table) underneath each top band (see picture). Both top level tables have a relationship with the same bottom level data table. Two questions:
1. How do I get rid of the root level elements in red - Table1 and Table 2?
2. How do I make sure ChildTable (child band table) does not show as a separate table on the tree? It should only show as a 'second band'
What I am trying to have here is a 'grid' where I can have various number of columns on the top band. The picture of the tree is below but I have no idea how to attach the source here. Thanks!!
Hi,
Those extra nodes are called Band Nodes and they will show up any time you have sibling bands. There is no way to prevent this or remove the band nodes. They must be there to separate the nodes collections of the two different bands.
If you want to show data from two different bands with no band node, then you would have to create a data source that contains a single collection of items to bind to the tree.
Or, you could, of course, populate the tree manually using the Add method on the nodes collection instead of binding. You could use the FreeForm ViewStyle and assign a different ColumnSet to each node in the tree.
Mike, I have started to move in the direction of manually adding band nodes and then binding corresponding table from the data set underneath and that approach allowed me to have the data presented minus the unneeded band nodes. I have tried using a single top level data table initially but this approach does not seem to allow for heterogeneous data structure (its not like you can have 3 cells in one row and 5 cells in the second row - is that correct? Thanks for your input.