2016-09-27 11 views

答えて

0

<select id="{{ vm.id }}" 
 
\t class="k-textbox InputBox inputBoxText" 
 
\t kendo-multiselect 
 
\t ng-disabled="vm.ngDisabled" 
 
\t k-ng-model="vm.ngModel" 
 
\t k-options="vm.options" 
 
\t k-rebind="vm.options"> 
 
</select>
...

var kendoMultiSelect = $("#"+vm.id).find('select').data("kendoMultiSelect"); 
 
\t \t \t \t kendoMultiSelect.dataSource.options = vm.options; 
 
\t \t \t \t kendoMultiSelect.dataSource.options.value = vm.ngModel;

関連する問題