I have a UltraWinTree with nodes that have an overridden column set. I want to be able to select multiple rows to interact with. Here's the layout:
- Parent 0
- Child 0 : Column 0 = bool, Column 1 = string, Column 2 = int, Column 3 = string
- Child 1 : Column 0 = bool, Column 1 = string, Column 2 = int, Column 3 = string
- Child n : Column 0 = bool, Column 1 = string, Column 2 = int, Column 3 = string
I want to be able to select Child 0 through n and click once in Column 0 and have that applied to all the rows I have selected. In this case, I understand rows to actually be nodes under Parent 0, so why am I having difficulty selecting more than one at a time?
Selection is controlled by the Override.SelectionType property. An Override property is exposed by the control, the control's NodeLevelOverrides collection, TreeNodesCollection, and UltraTreeNode (although the SelectionType property is not applicable at the UltraTreeNode level).
There is also a SelectionBehavior property (exposed by the control) which controls whether nodes from different Nodes collections can be simultaneously selected (be default they can't).
That seems to work well on nodes where I have NOT overridden the column set.
When I create a column set of the format
Column 0 = bool, Column 1 = string, Column 2 = int, Column 3 = string
and then override my Node.ColumnSet = CustomColumns I cannot select more than one node at a time.
Am I making sense?