1. 程式人生 > >kendo ui angularjs 改變選項

kendo ui angularjs 改變選項

<div ng-controller = 'MyCrl'>

  <select kendo-drop-down = 'dropDowmList'   k-options = 'dropDownOptions' k-data-source = 'dataList'>  </select>

</div>

1. kendo-drop-down 的值必須設定的

2. dropDownOptions = {

  dataSource: dataList

}

js改變下拉選項時用 

dropDownList.value('值');