$("#grid").kendoGrid({
height: 400,
width: 400,
columns: [{
field: "id"
},{
field: "question"
},{
field: "order"
},{
field: "type"
},{
command: [ "edit" , "destroy"],
width: 280
}],
dataSource: {
type: "Data",
transport: {
read: {
url: "@Url.Action("getAlldetails","IPPFnew")"
}
}
}
});
这是我的代码,但我收到以下错误:
0x800a01b6 - JavaScript运行时错误:对象不支持属性或方法'slice'