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 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.
Does this mean that we can add a ComboEditor as a valid data type in the ColumnSet?
What I want is for my tree to look like is:
-Parent 0
- Child 0
bool string float ComboEditor
Is this possible? I've been having a difficult time implementing it
Hi,
I'm not sure what you mean by this. You could, in theory, set the DataType of a column to ComboEditor. But that doesn't really seem to make much sense or be particularly useful.
Having a Column whose DataType is ComboEditor will not display the column with a dropdown. It will just mean that the values of the cells in that column are storing ComboEditors.
If you want a dropdown list to show up in a column, you would typically do this on a column with some numeric type and use either the ValueList or the Editor/EditorComponent property on the column to provide a dropdown list.
Setting the ValueList property acheived my goal to have a dropdown box within the column set!
Many thanks!