animation: Object
Animations to be used for opening/closing the popup. Setting to false will turn off the animation.

Example

$("#comboBox").kendoComboBox({
    animation: false
});
close: Object
Animation to be used for closing of the popup.

Example

//combobox initialization
 <script>
     $("#combobox").kendoComboBox({
         dataSource: dataSource,
         animation: {
            close: {
                effects: "fadeOut",
                duration: 300,
                hide: true
                show: false
            }
         }
     });
 </script>
open: Object
Animation to be used for opening of the popup.

Example

//combobox initialization

<script>
     $("#combobox").kendoComboBox({
         dataSource: dataSource,
         animation: {
            open: {
                effects: "fadeIn",
                duration: 300,
                show: true
            }
         }
     });
 </script>
autoBind: Boolean(default: true)
Controls whether to bind the widget to the DataSource on initialization.

Example

$("#comboBox").kendoComboBox({
    autoBind: false
});
dataSource: Object | kendo.data.DataSource
A local JavaScript object or instance of DataSource or the data that the ComboBox will be bound to.

Example

var items = [{ text: "Item 1", value: "1" }, { text: "Item 2", value: "2" }];
$("#comboBox").kendoComboBox({
    dataTextField: "text",
    dataValueField: "value",
    dataSource: items
});

Example

$("#comboBox").kendoComboBox({
    dataSource: new kendo.data.DataSource({
        transport: {
            read: {
                url: "Get/Items" // url to remote data source (simple list of strings)
            }
        }
    });
});
dataTextField: String(default: "")
Sets the field of the data item that provides the text content of the list items.

Example

$("#comboBox").kendoComboBox({
    dataTextField: "Name",
    dataValueField: "ID"
});
dataValueField: String(default: "")
Sets the field of the data item that provides the value content of the list items.

Example

$("#comboBox").kendoComboBox({
    dataTextField: "Name",
    dataValueField: "ID"
});
delay: Number(default: 200)
Specifies the delay in ms after which the ComboBox will start filtering dataSource.

Example

$("#comboBox").kendoComboBox({
    delay: 500
});
enable: Boolean(default: true)
Controls whether the ComboBox should be initially enabled.

Example

$("#comboBox").kendoComboBox({
    enable: false
});

Example

// get a reference to the ComboBox widget
var comboBox = $("#comboBox").data("kendoComboBox");
comboBox.enable(false);
filter: String(default: "none")
Defines the type of filtration. If "none" the ComboBox will not filter the items.

Example

$("#comboBox").kendoComboBox({
    filter: "startswith"
});
height: Number(default: 200)
Define the height of the drop-down list in pixels.

Example

$("#comboBox").kendoComboBox({
    height: 500
});
highlightFirst: Boolean(default: true)
Controls whether the first item will be automatically highlighted.

Example

$("#comboBox").kendoComboBox({
    highLightFirst: true
});
ignoreCase: String(default: true)
Defines whether the filtration should be case sensitive.

Example

$("#combobox").kendoComboBox({
    filter: 'contains',
    ignoreCase: false //now filtration will be case sensitive
});
index: Number(default: -1)
Defines the initial selected item.

Example

var items = [{ text: "Item 1", value: "1" }, { text: "Item 2", value: "2" }];
$("#comboBox").kendoComboBox({
    dataSource: items,
    index: 1 // 0 based from the start of the collection of objects. this selects "Item 2".
});
minLength: Number(default: 1)
Specifies the minimum characters that should be typed before the ComboBox activates

Example

$("#comboBox").kendoComboBox({
    minLength: 3
});
placeholder: String(default: "")
A string that appears in the textbox when the combobox has no value.

Example

//combobox initialization
 <script>
     $("#combobox").kendoComboBox({
         dataSource: dataSource,
         placeholder: "Select..."
     });
 </script>

Example

<input id="combobox" placeholder="Select..." />

 //combobox initialization
 <script>
     $("#combobox").kendoComboBox({
         dataSource: dataSource
     });
 </script>
suggest: Boolean(default: false)
Controls whether the ComboBox should automatically auto-type the rest of text.

Example

$("#comboBox").kendoComboBox({
    suggest: false
});
template: string
Template to be used for rendering the items in the list.

Example

//template
<script id="template" type="text/x-kendo-tmpl">
      # if (data.BoxArt.SmallUrl) { #
          <img src="${ data.BoxArt.SmallUrl }" alt="${ data.Name }" />Title:${ data.Name }, Year: ${ data.Name }
      # } else { #
          <img alt="${ data.Name }" />Title:${ data.Name }, Year: ${ data.Name }
      # } #
 </script>

 //combobox initialization
 <script>
     $("#combobox").kendoComboBox({
         dataSource: dataSource,
         dataTextField: "Name",
         dataValueField: "Id",
         template: kendo.template($("#template").html())
     });
 </script>
text: String(default: "")
Define the text of the widget, when the autoBind is set to false.

Example

$("#combobox").kendoComboBox({
     autoBind: false,
     text: "Chai"
});
value: String(default: "")
Define the value of the widget

Example

$("#combobox").kendoComboBox({
     dataSource: ["Item1", "Item2"],
     value: "Item1"
});