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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tree Issue

Thread ID:

Created:

Updated:

Platform:

Replies:

13961 May 14,2004 06:20 AM UTC May 17,2004 12:01 PM UTC WinForms 3
loading
Tags: GridControl
Satish
Asked On May 14, 2004 06:20 AM UTC

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 04:45 PM UTC

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 15, 2004 12:53 AM UTC

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 12:01 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;