open
Fired when the suggestion popup of the widget is opened by the user.
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 "open" event during initialization
<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
dataSource: [ "Apples", "Oranges" ],
open: function(e) {
// handle the event
}
});
</script>
Example - subscribe to the "open" event after initialization
<input id="autocomplete" />
<script>
function autocomplete_open(e) {
// handle the event
}
$("#autocomplete").kendoAutoComplete({
dataSource: [ "Apples", "Oranges" ]
});
var autocomplete = $("#autocomplete").data("kendoAutoComplete");
autocomplete.bind("open", autocomplete_open);
</script>