value

Gets or sets the value of the ComboBox.

Important: If the widget is not bound, value method will pre-fetch the data before continue with the value setting.

Important: The widget will clear the applied filter if a new value is set. Thus it ensures that the original/whole data set is available for selection.

Important: This method does not trigger change event. This could affect MVVM value binding. The model bound to the widget will not be updated. You can overcome this behavior trigerring the change event manually using trigger("change") method.

<input id="combobox" />
<script>
$("#combobox").kendoComboBox({
  dataSource: [ "Apples", "Oranges" ]
});

var combobox = $("#combobox").data("kendoComboBox");
combobox.value("Apples");
combobox.trigger("change");
</script>

Parameters

value String

The value to set.

Returns

String The value of the ComboBox.

Example - set value of the widget

<input id="combobox" />
<script>
$("#combobox").kendoComboBox({
  dataSource: [ "Apples", "Oranges" ]
});

var combobox = $("#combobox").data("kendoComboBox");

combobox.value("Oranges");
</script>
In this article