Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Multiselect rows in a columnset
posted

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?

Parents
  • 69832
    Offline posted

    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).

Reply Children
No Data