Good afternoon!
There's the recursive data, and I need to fiil with it an UltraTree.
Each node can be one of the two types (accordingly, two column sets). There are 2 classes A and B.
class Base {public List<Base> Coll {get;set;}}
class A : Base {public string NameA{get;set;}}
class B : Base {public string NameB1{get;set;} NameB2{get;set;}}
I populate the tree in code recursively using ColumnSets.
When I set property ViewStyle = FreeForm, I see a header above each node. It's terrible.
I want header to be shown only above the first child node.
How to implement this?
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Can you edit your screenshots and mark with some line the elements you want to change so we can get a clearer view of your requirements?
Hi,
Sorry, but I am not following you.I see that you have WinTree on top and a grid on the bottom, but I don't understand what you want.
What, exactly, is wrong with what's shown in the screen shot here? What are you trying to change? Are you talking about the band nodes that say "Contribution" and "Personal Information?" Those are called Band Nodes, and there is no way to remove them from the tree when you have sibling bands. The bands have to separated.
Remark:
Structure is recursive, not hierarchical.
Example:
NameA
John
- John2
- John3
- Shon
- Shon2
NameB1 NameB2
- Z1 Z2
- John4
- B01 B02
- B03 B04
This is what's needed.
The only distinction is the structure is hierarchical and on each level we can have either A or B.