0
在我的剑道网格我想打一个字段不可编辑,我的数据源是通过Ajax调用饶人,我不喜欢以下但不工作:剑道网编辑虚假不工作
$("#turbingrid").kendoGrid({
dataSource: result,
scrollable: false,
schema: {
model: {
id: "DeviceIP",
fields: {
DeviceIP: {
editable:false
}
}
}
columns: [
{ field: 'DeviceIP', title: 'DeviceIP', width: '100px'},
{ field: 'Producer', title: 'Producer', width: '80px'},
editable: "popup"
});
究竟你是“不工作”是什么意思?有错误吗? – Supersnake
@Supersnake不是错误,问题是我不希望设备可编辑,但即使当我设置“可编辑:false”它仍然可编辑! – moris62