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

How to attach the select event to a method to an instance

1 Answer 118 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sanjay
Top achievements
Rank 1
Sanjay asked on 30 Apr 2012, 09:56 AM
Most of the examples on the website demonstrate attaching the select event in documentReady method.

var
treeView = $("#treeView").data("kendoTreeView");
How can I attach the select event of 'treeView' to an onSelect function? Could you please also suggest how to detach the event?

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 01 May 2012, 11:41 AM
Haven't done it, but I suppose it would be Bind and Unbind as in other widgets.

See bottom of ComboBox docs.
Tags
TreeView
Asked by
Sanjay
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or