Kendo UI, searchable Combobox
- by user2083524
I am using the free Kendo UI Core Framework. I am looking for a searchable Combobox that fires the sql after inserting, for example, 2 letters. Behind my Listbox there are more than 10000 items and now it takes too much time when I load or refresh the page.
Is it possible to trigger the sql query only by user input like the autocomplete widget do?
My code is:
<link href="test/styles/kendo.common.min.css" rel="stylesheet" />
<link href="test/styles/kendo.default.min.css" rel="stylesheet" />
<script src="test/js/jquery.min.js"></script>
<script src="test/js/kendo.ui.core.min.js"></script>
<script>
$(document).ready(function() {
var objekte = $("#objekte").kendoComboBox({
placeholder: "Objekt auswählen",
dataTextField: "kurzname",
dataValueField: "objekt_id",
minLength: 2,
delay: 0,
dataSource: new kendo.data.DataSource({
transport: {
read: "test/objects.php"
},
schema: {
data: "data"
}
}),
}).data("kendoComboBox");
</script>