1
我在emberjs下降downlist和我宣佈它像下面如何使用與kedoui的下拉列表綁定?
{{view Ember.Select contentBinding="ResAdmin.adminController.serviceAreaList" selectionBinding="ResAdmin.adminController.serviceAreaSelection" optionLabelPath="content.ZipCode" optionValuePath="content.ServiceAreaID"}}
,但我想用的劍道UI的下拉列表,我可以使用如下
<input id="dropDownList" />
$(document).ready(function() {
$("#dropDownList").kendoDropDownList({
dataTextField: "text",
dataValueField: "value",
dataSource: [
{ text: "Item1", value: "1" },
{ text: "Item2", value: "2" }
]
});
});
我想使用kendoui dropownlist燼
這是正常的,但我們做的選擇綁定在燼像「selectionBinding ='App.somevariable'」。值更改爲未定義。那麼我們怎麼才能用kendoui來實現。 –