Search code examples
c#devexpressxtratreelist

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 ?


Solution

  • foreach(TreeListColumn  col in treeList.Columns)
    {
       col.OptionsColumn.AllowEdit = false;
       col.OptionsColumn.ReadOnly = true;
    }