dataBound
Fired when the widget or sub levels of its items are bound to data from the dataSource.
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 "dataBound" event during initialization
<input id="dropdowntree"/>
<script>
$("#dropdowntree").kendoDropDownTree({
dataSource: [{ text: "item1", value: 1 }, { text: "item2", value: 2 }],
dataBound: function(e) {
// handle the event
}
});
</script>
Example - subscribe to the "dataBound" event after initialization
<input id="dropdowntree"/>
<script>
function dropdowntree_dataBound(e) {
// handle the event
}
$("#dropdowntree").kendoDropDownTree();
var dropdowntree = $("#dropdowntree").data("kendoDropDownTree");
dropdowntree.bind("dataBound", dropdowntree_dataBound);
</script>