DevExpress XtraTreeList Disable Node Editing

Cannon picture Cannon · May 13, 2011 · Viewed 7.8k times · Source

I want to disable Editing of all nodes of my tree. Any such property apart from a property that allows you to individually set Editing based on cell value ?

Answer

Mihail Shishkov picture Mihail Shishkov · Jun 13, 2011
foreach(TreeListColumn  col in treeList.Columns)
{
   col.OptionsColumn.AllowEdit = false;
   col.OptionsColumn.ReadOnly = true;
}