close
Fired when the popup of the widget is closed.
The event handler function context (available via the this
keyword) will be set to the widget instance.
Event Data
e.sender kendo.ui.DropDownTree
The widget instance which fired the event.
Example - subscribe to the "close" event during initialization
<input id="dropdowntree"/>
<script>
$("#dropdowntree").kendoDropDownTree({
dataSource: [{ text: "item1", value: 1 }, { text: "item2", value: 2 }],
close: function(e) {
// handle the event
}
});
</script>
Example - subscribe to the "close" event after initialization
<input id="dropdowntree"/>
<script>
function dropdowntree_close(e) {
// handle the event
}
$("#dropdowntree").kendoDropDownTree();
var dropdowntree = $("#dropdowntree").data("kendoDropDownTree");
dropdowntree.bind("close", dropdowntree_close);
</script>