Error: Object doesn't support property or method 'slice'

2
$("#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")"
            }
        }
    }
});

This is my code but I get the below error:

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'slice'

javascript
jquery
asked on Stack Overflow Mar 2, 2016 by Naga vijayakumar • edited Mar 2, 2016 by Rory McCrossan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0