HI, I am wondering if there is an example by using UltraTree and UltraGridCan we add a UltraGrid as a child node to a Tree Node.
I am basically looking into some functionality where the headers act like a Tree Node that can be collapsed and the body is a ultraGrid like structure. I cannot use a Grid solution only since the data for the header and the body has no relation.
- SomeText1 CheckBox Text Box ComboEditor CheckBox Text Box ComboEditor CheckBox Text Box ComboEditor CheckBox Text Box ComboEditor
- SomeText2
CheckBox CheckBox ComboEditor TextBox CheckBox CheckBox ComboEditor TextBox CheckBox CheckBox ComboEditor TextBox CheckBox CheckBox ComboEditor TextBox CheckBox CheckBox ComboEditor TextBox
ThanksAJ
Hi Aditya,
You can't embed another control or grid inside the three. But you do not have to. The tree already supports a grid-like display just like you have here.
What you would do is add your root level nodes to the three. Then for the child nodes, you would apply a ColumnSet to the nodes collection's Override with a set of columns that you would. For the node under the second parent node, you would apply a different ColumnSet with a different set of columns.
Hi Mike, Thanks for getting back to me.
Like my previous post with the example, I am trying to accomplish a tree like structure with collapsing header nodes. The Child nodes under a header section differ. They are not consistent. The child to the header node mimics like a grid. Each column (Cell) is a Control (e.g, Checkbox, combo, text box, etccc). The number of rows is not finite. My initial thought was can a (UserControl) be added as a child node? I guess this is not possible.
Do let me know if I am not clear in my explanationThanksAditya
Hi AJ,
I'm not sure I understand your question. What exactly are you trying to go here that you can't do with the WinTree alone? There's no way to embed a WinGrid within a tree. But the tree itself supports columns, so you could do what you have here with just a tree, you don't need a WinGrid.
Please refer to the gollowing link:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6692
If you need further assistance with this question, please submit a support request to Infragistics Developer Support.
Magued