[DevExpress Support Team: CLONED FROM T202180: How to to make child nodes non editable or not expandable]
I have another question ?
If I check the checkbox of parent node then it should <…> make it Editable false.
How to do this ?
How to make child nodes read-only if their parent node is checked
Answers approved by DevExpress Support
Hello,
I recommend that you handle the TreeList.ShowingEditor event and cancel the editor showing if its parent node is checked. Based on the How to add Checkedit in parent node for treelist in c# ? ticket, you are using an in-place CheckEdit to check a node. Please note that TreeList provides the built-in functionality allowing you to show check boxes within nodes. To enable it, set the TreeListOptionsView.ShowCheckBoxes property to true. I have attached samples covering both these approaches.
Please try them and let me know if you have additional questions.