O'Reilly logo

Learning Kendo UI Web Development by John Adams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hooking into AutoComplete widget events

The AutoComplete widget has several different events that it fires while performing actions on your page. You can bind them after the AutoComplete widget has been initialized like this:

varautoComplete = $("#autoComplete").data("kendoAutoComplete");
$("#autoComplete").data("kendoAutoComplete").bind("change", function(e) {
    // handle event
});

Or you can define them within the properties of the AutoComplete widget itself like this:

$("#autoComplete").kendoAutoComplete({
close: function(e) {
        // handle event
    }
});

In either case, this is the list of events to which you can attach your own code.

Change

The change event fires as the selection in the AutoComplete widget changes. You can bind events after initialization. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required