Hi Vinay,
Sorry for the delayed response.
You could manage the TreeViewAdv node''s read / write property by cancelling the BeforeEdit event for particular nodes and for particular users. Please take a look at the following code snippet and the attached
test sample.
private void treeViewAdv1_BeforeEdit(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvBeforeEditEventArgs e)
{
if(username=="user1")
{
if ((e.Node.Text == "Node0") || (e.Node.Text == "Node5")||(e.Node.Text == "Node3")||(e.Node.Text == "Node8"))
{
e.Cancel = true;
}
}
else if(username=="user2")
if ((e.Node.Text == "Node2") || (e.Node.Text == "Node4")||(e.Node.Text == "Node6")||(e.Node.Text == "Node10"))
{
e.Cancel = true;
}
}
Steps to view this test sample:
1. Run the test sample.
2. In the Login menu, choose any user.
3. You will notice that color will be changed for some nodes.
4. Try to edit those colored nodes.
5. Again choose another user from the Login menu.
6. Color will be changed for other different nodes.
7. Try to edit those colored nodes.
Please let me know if you have any questions. Thanks for your patience.
Regards,
Vijay