e.ColumnSet.NodeTextColumn = e.ColumnSet.Columns["Description"];
How can I override the text displayed in a databound UltraTree so that the text displayed draws from more than one column....the control is set ViewStyle.Standard....
If one does not set the NodeTextColumn then the first column/cell is chosen as the text...
If one sets the NodeTextColumn then that columns.cell text is chosen....
I need to display text that has both the data from the [ID] column and [Description] column:
"22 - Whirlygigs"
Tx in advance
Carson Wales
The control does not support the display mode you describe here. However, you should be able to add a "dummy" column to the table to which the tree is bound, and make the values of the cells in that column something like, string.Format("{0} - {1}", columns[ID], columns[Description]). Then set the NodeTextColumn property to reference that column.
Thank you