This is a migrated thread and some comments may be shown as answers.

[Solved] Disabling the TreeView

1 Answer 128 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Nir
Top achievements
Rank 1
Nir asked on 28 Apr 2008, 06:26 AM
Hi,
I wanted to know if there's an easy way to disable the entire tree, on the client side, without traversing it node by node.
What I actually need is a way to stop the user from clicking another node in the tree, after clicking a certain node. The node click causes another pane to load, and during the page load I want the tree to "wait". If there's another way to provide the same functionality, I'd be happy to hear about it.

Thanks!
Nir.

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 29 Apr 2008, 09:26 AM
Hello Nir,

You can use the TreeView's method set_enabled(false):

tree.set_enabled(false);

I hope this helps.

Kind regards,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Nir
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or