This is a migrated thread and some comments may be shown as answers.

Cannot read property 'deepExtend' of undefined

1 Answer 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eyal
Top achievements
Rank 1
Eyal asked on 16 Aug 2016, 12:58 PM

Hello

I'm trying to create kendoGrid with server paging but got the folowing error:

kendo.grid.min.js:25Uncaught TypeError: Cannot read property 'deepExtend' of undefined

Code:

<div id="example">
    <div id="grid"></div>
</div>
<script type="text/javascript" language="javascript" class="init">
    $(document).ready(function() {
        $("#grid").kendoGrid({
            dataSource: {
                type: "odata",
                transport: {
                    read: "derived_roles_service.jsp"
                },
                schema: {
                    model: {
                        fields: {                                                                       
                            description: { type: "string" }
                            name: { type: "string" }
                        }
                    }
                },
                pageSize: 20,
                serverPaging: true,
                serverFiltering: true,
                serverSorting: true
            },
            height: 550,
            filterable: true,
            sortable: true,
            pageable: true,
            columns: [{
                   field: "name",
                   title: "name"
                },
               {
                    field: "description",
                    title: "description"
                }
            ]
        });
    });
</script>

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 18 Aug 2016, 09:11 AM

Hello Eyal,

I'm afraid that the provided information is not sufficient in order to track the cause for the described error. Please provide a small runnable test page in which the issue can be observed locally.

Also you should verify that the Kendo scripts are correctly included and there are no duplicate scripts (either Kendo UI or jQuery) loaded on the page. 

Regards,
Rosen
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Eyal
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or