这是我的数据表我要添加网格(data-uid)guid, 或者我想改变,因为Kendo网格id是自动生成的
这是我的网格表
如何更改数据-id?
schema: {
model: {
fields: {
c_Name: { type: "string" },
c_LastName: { type: "string" },
c_IdCity: { type: "string" },
c_IdTown: {type:"string"},
c_ID: {type:"string"}
},
}
},
}).data("kendoGrid");
答案 0 :(得分:0)
基本上data-uid
属性是内部设置的,无法更改。它会随着网格的每次重新加载而改变。