Hi All,
I need to design a custom tree view control which will enable the user to build a tree where each node in the tree is a grid row, i.e. each node will have a name and then beside it there will be a row with several columns. Does anybody have any suggestions on how I could go about this?
I have already tried using an UltraTree and Grid positioned side by side but I found it a bit awkward to keep each node in line with its corresponding grid row.
Any advice greatly appreciated.
Thanks in advance,
Denis
Hi Denis,
I'm not sure I understand your question. What part of this are you having trouble with? The tree supports multiple columns. So it sounds like you just need to bind the tree to the same datasource you are binding to the grid. Then you can just add an unbound column to show the name - assuming the name isn't already part of the data.
Hi Mike,
I'm aware that a datasource can be bound to a tree but I don't think it will give me what I need. In effect what I need is for the tree itself to be the first column of a grid with each node of the tree being a seperate row. In this way, the rest of the columns in the grid will be aligned for each node.