Hi,
I have 2 problems with Ultratree control with outlookexpress viewstyle.
1. How to enable multiselect?
I tried the following, but it didn't work:
detailUltraTree.NodeLevelOverrides[0].ColumnSet = detailUltraTree.ColumnSettings.ColumnSets["cs1"];detailUltraTree.NodeLevelOverrides[0].SelectionType = SelectType.Extended;detailUltraTree.NodeLevelOverrides[0].CellClickAction = CellClickAction.EditCell;detailUltraTree.NodeLevelOverrides[1].ColumnSet = detailUltraTree.ColumnSettings.ColumnSets["cs2"];detailUltraTree.NodeLevelOverrides[1].SelectionType = SelectType.Extended;detailUltraTree.ViewStyle = Infragistics.Win.UltraWinTree.ViewStyle.OutlookExpress;
2. How to set and get the column width?
Thanks.
Regarding Q1:
I commented 1 line, and the multiselect works.
//detailUltraTree.NodeLevelOverrides[0].CellClickAction = CellClickAction.EditCell;
Is it possible to have multiselect works together with EditCell?
1. I suspect multiselection is enabled, but since CellClickAction is set to 'EditCell', it is immediately clearing the selection to go into edit mode.
2. See UltraTreeNodeColumn.LayoutInfo.PreferredCellSize/PreferredLabelSize.
Is that mean multiselection is not possible when CellClickAction = EditCell? Any workaround?