Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DevExpress XtraTreeList Disable Node Editing

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 ?

like image 976
Cannon Avatar asked Dec 12 '22 13:12

Cannon


2 Answers

foreach(TreeListColumn  col in treeList.Columns)
{
   col.OptionsColumn.AllowEdit = false;
   col.OptionsColumn.ReadOnly = true;
}
like image 58
Mihail Shishkov Avatar answered Dec 15 '22 03:12

Mihail Shishkov


treeList.OptionsBehavior.Editable = false;
like image 43
manji Avatar answered Dec 15 '22 03:12

manji