如何kendo grid id绑定?

时间:2014-02-13 09:59:47

标签: jquery kendo-grid

这是我的数据表我要添加网格(data-uid)guid, 或者我想改变,因为Kendo网格id是自动生成的

enter image description here

这是我的网格表 enter image description here

如何更改数据-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");

1 个答案:

答案 0 :(得分:0)

基本上data-uid属性是内部设置的,无法更改。它会随着网格的每次重新加载而改变。