答案 0 :(得分:2)
如果看到this example,您可以为列指定自定义编辑器,并按照此方法执行您需要的任何操作,
function categoryDropDownEditor(container, options) {
$('<input required data-text-field="CategoryName" data-value-field="CategoryID" data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
select: function(e) {
var item = e.item;
var text = item.text();
// Use the selected item or its text
},
dataSource: {
type: "odata",
transport: {
read: "http://demos.kendoui.com/service/Northwind.svc/Categories"
}
}
});
}