Hello guys,
I have a 3 levels dataset and after set the relations of datatables I bind it to my tree.
ultratree1.datasource = dataset;
And I hide column names and just display one column I want.
The thing is I want to show a radioButton in front of each node, but can not make it.
I tried to set the node style to radioButton or set the EditorControl as a UltraOptionSet, but neither way works.
Any idea on this issue?
Cheers,
Elton
If you are only showing one column, anyway, then you might want to simply set the ViewStyle on the Tree to Standard. That way it will display the nodes as normal tree nodes instead of columns and you can use the RadioButton Style.
You may need to also handle the ColumnSetGenerated event and set the NodeTextColumn on the root-level ColumnSet to determine which field the node uses for it's text.
The NodeStyle is not applicable when using one of the non-standard ViewStyles; if you like you can submit a feature request for the ability to do this.