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?