答案 0 :(得分:1)
您可以使用编辑功能,如
edit: function(e) {
//add your custom logic here as if condition
//as for this example it just disable the one with id 1
//or maybe ada a new attribute like isEditable = boolean upon datasource.parse then check it
if (e.model.id == 1) {
//revert edited cell back to `read` mode
this.closeCell();
}
}
嗯,这不是完全阻止开放,它只是在它打开后立即关闭它我认为。但它是可行的选择,因为我甚至看不到变化。工作示例dojo,这实际上是在kendo forum here
中消化的