dataBound
Fired when the widget is bound to data from its data source.
The event handler function context (available via the this
keyword) will be set to the widget instance.
Event Data
e.sender kendo.ui.DropDownList
The widget instance which fired the event.
Example - subscribe to the "dataBound" event during initialization
<input id="dropdownlist" />
<script>
$("#dropdownlist").kendoDropDownList({
dataSource: [ "Apples", "Oranges" ],
dataBound: function(e) {
// handle the event
}
});
</script>
Example - subscribe to the "dataBound" event after initialization
<input id="dropdownlist" />
<script>
function dropdownlist_dataBound(e) {
// handle the event
}
$("#dropdownlist").kendoDropDownList({
dataSource: [ "Apples", "Oranges" ]
});
var dropdownlist = $("#dropdownlist").data("kendoDropDownList");
dropdownlist.bind("dataBound", dropdownlist_dataBound);
</script>