2
我有過濾器的數據網格,但除了那些我想添加下拉列表 與準備好的數據項過濾,如何在kendoway做到這一點? 如何將類別名稱POST到具有挑選值的服務器?KendoUI DropDownList服務器過濾
$("#category_list").kendoDropDownList({
dataTextField: "name",
dataValueField: "id",
dataSource: {
transport: {
read: {
url: '/api/notes/cats',
dataType: 'json',
type: 'GET',
},
},
schema: {
data: function(reply) {
return reply.rows
},
}
},
change: function() {
val = $("#category_list").val();
}
})
感謝的人,成功了! – juk