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
close icon

How do I de-select a node in a treeview?

How do I de-select a node in a treeview?

3 Replies

VS Venkatesh S Syncfusion Team December 30, 2009 12:25 PM UTC

Hi Ron,

Thank you for your interest in Syncfusion products.
A Treeview node can be deselected by using its client side method 'UnSelect'.

Following code snippet can be used to acheive your requirement

[Javascript]

function unselect()
{
var node = tree_client.FindNodeByID("child1");
node.UnSelect(); // Node is deselected
}


Please let us know if it helps you.

Regards
Venkatesh


RR Ronald Rasmussen December 30, 2009 05:10 PM UTC

Is there a code behind VB equivilant?


VS Venkatesh S Syncfusion Team December 31, 2009 03:07 PM UTC

Hi Ron,

The node deselection in server side has been identified as a defect. We will be fixing this in our source and we want to then provide you with a patch. Since the patch setup involves sharing certain proprietary information, per policy, we are unable to share that in the public forum. We would therefore request you to create a support incident in Direct Trac and refer to this forum post in the incident. Once we have fixed this issue, we will update you with the patch.

Please let us know if any concerns.

Regards
Venkatesh

Loader.
Live Chat Icon For mobile
Up arrow icon