错误:对象不支持属性或方法'slice'

时间:2016-03-02 07:31:39

标签: javascript jquery

$("#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'

0 个答案:

没有答案