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.
Unfortunately, activation email could not send to your email. Please try again.

Tree Issue

Thread ID:

Created:

Updated:

Platform:

Replies:

13961 May 14,2004 02:20 AM May 17,2004 08:01 AM Windows Forms 3
loading
Tags: GridControl
Satish
Asked On May 14, 2004 02:20 AM

Hi Clay, Please find attached file. I need to do like word document by using SyncFusion TreeView Control. I didnt find any sample which could solve my problem. Thanks Satish TreeRequirement_9265.zip

Administrator [Syncfusion]
Replied On May 14, 2004 12:45 PM

Hi Satish, Please refer to the sample attached. I have created a tree view (using our TreeViewAdv) which very similar to the one in the screenshot attached. Refer to it and let me know if you need further assistance. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Satish
Replied On May 14, 2004 08:53 PM

Hi Guru Patwal Thanks for your reply. I would able to do this at the runtime. Please find the attachedment. I have problem. How can I set first node that is ''Global Estimating System'' should non-editable and plus focus should not be set. When I used treeNodeAdv1.NodeStyle.Enabled=false; I will be losing the font color. I want to retain the font color but it should be non-editable. Summaries everything, I need that should look like a header which cannot have any focus. Thanks Satish >Hi Satish, > >Please refer to the sample attached. I have created a tree view (using our TreeViewAdv) which very similar to the one in the screenshot attached. Refer to it and let me know if you need further assistance. Thanks for considering Syncfusion products. > >Regards, >Guru Patwal >Syncfusion, Inc. TreeViewDemo_5873.zip

Administrator [Syncfusion]
Replied On May 17, 2004 08:01 AM

Hi Satish, Thanks for the sample and also for the update. I understand your requirements better now. Please do the following for this purpose : // enable all the nodes treeNodeAdv1.NodeStyle.Enabled=false // Set all the nodes as editable initially treeViewAdv1.LabelEdit = true; // Set the first node as non editable private void treeViewAdv1_BeforeEdit(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvBeforeEditEventArgs e) { if (e.Node == this.treeViewAdv1.Nodes[0]) e.Cancel = true; } // Set the first node as non selectable private void treeViewAdv1_BeforeSelect(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableSelectionEventArgs args) { if (args.SelectedNodes[0] == this.treeViewAdv1.Nodes[0]) args.Cancel = true; } I have modified your sample accordingly and have attached it here. Please refer to it and let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;