We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Disable editing

I am using the TreeViewAdv control using a customised data template based on the one you use in the examples.

When using a data template how do you control whether you want a node to be "editable"?

1 Reply

VJ Victory Jessie Selvam D Syncfusion Team January 30, 2017 06:07 AM UTC

Hi Richard,

Thank you for using Syncfusion products.

We can enable or disable node editing using IsEditable property of TreeViewItemAdv. We have prepared a sample to demonstrate the same, and in that we have bound the CanEdit property of TreeModel class to IsEditable property through ItemContainerStyle property of TreeViewAdv. You can download the sample from following link:

Sample: TreeViewAdv_Editable

Regards,
Jessie

Loader.
Up arrow icon