Version

Allow Cell Editing in WinTree

This topic shows you how to enable cell editing when WinTree™ has ColumnSets associated with it.

It is possible by setting the AllowCellEdit property to true which is exposed at various levels of WinTree: UltraTree.ColumnSettings, UltraTreeColumnSet, and UltraTreeNodeColumn. In addition to this, the Override object’s CellClickAction property should also be set to true.

Note
Note

The CellClickAction property is only applicable to nodes that display columns; nodes that do not display columns behave as if the property is set to SelectNodeOnly.

In Visual Basic:

Imports Infragistics.Win.UltraWinTree
...
Me.ultraTree1.ColumnSettings.AllowCellEdit = AllowCellEdit.Full
Me.ultraTree1.Override.CellClickAction = CellClickAction.EditCell

In C#:

using Infragistics.Win.UltraWinTree;
...
this.ultraTree1.ColumnSettings.AllowCellEdit = AllowCellEdit.Full;
this.ultraTree1.Override.CellClickAction = CellClickAction.EditCell;