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