How to change/set value in kendo combobox

Ashwin picture Ashwin · Jul 3, 2012 · Viewed 51.4k times · Source

Can anyone let me know how can we change the value of kendo combobox dynamically.

Fiddle is here - http://jsfiddle.net/ashwyn/yL6w3/1/

In the above fiddle, when we click on click then the shown value should be changed to three (for eg.)

I found this link which list all datasource methods -
http://www.kendoui.com/documentation/framework/datasource/methods.aspx

Answer

user2493053 picture user2493053 · Jun 17, 2013

If you know the value you want, you can also do:

$("#MyComboBox").data("kendoComboBox").value(id);