0
我有kendo下拉列表,它有很大的價值,它不會自動適應其結果。請幫忙。Kendo dropdownList彈出自動寬度
<div class="col-md-12 no-padding">
<select id="serviceAccounts"
kendo-drop-down-list
k-ng-model="vm.customer.serviceAccountId"
k-value-primitive="true"
k-options="vm.setServiceAccountOptions" style="width: 100%">
功能
function setServiceAccountOptions() {
vm.setServiceAccountOptions = {
dataSource: { data: JSON.parse(localStorage.getItem("listServiceAccount")) },
dataTextField: 'dataTextField',
dataValueField: 'serviceAccountId',
change: function() {
acctSearchService.getServiceAccountsById(this.value())
.then(getServiceAccountSuccess, getServiceAccountFailure);
},
template:
"<table><tr><td>${ serviceAccountId } : </td><td>${ serviceAccountStatus } </td><td>${ serviceType } - </td><td>${ serviceAddress}</td></tr></table>"
}; }
是否有可能與劍道下拉列表?
嘿Dimodi,你岩石...謝謝,你已經解決了我的問題。乾杯。 – tt0206