Change selected value of kendo ui dropdownlist

后端 未结 5 990
忘掉有多难
忘掉有多难 2020-12-28 13:18

I have a kendo ui dropdownlist in my view:

$(\"#Instrument\").kendoDropDownList({
    dataTextField: \"symbol\",
    dataValueField: \"symbol\",
    dataSour         


        
5条回答
  •  春和景丽
    2020-12-28 13:25

    The Simplest way to do this is:

    $("#Instrument").data('kendoDropDownList').value("A value");
    

    Here is the JSFiddle example.

提交回复
热议问题