Cannot read property 'deepExtend' of undefined

2 posts, 0 answers
  1. Eyal
    Eyal avatar
    5 posts
    Member since:
    Jul 2012

    Posted 16 Aug Link to this post

    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>

  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 18 Aug Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top