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

On IE8 and IE7 Kendo UI Grid validation property has no effect

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PepLamb
Top achievements
Rank 1
PepLamb asked on 09 Jul 2013, 05:38 PM
On IE8 and IE7 Kendo UI Grid validation property is trying to validate even after setting its value to false. (The browsers IE9 / IE 10, Firefox, Chrome work just fine.)

My app is referencing to,
<script type="text/javascript" src="//code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="https://da7xgjtj801h2.cloudfront.net/2013.1.319/js/kendo.web.min.js"></script>
Following is the html and javascript in my app,
<div id="grid"></div>
<script type="text/javascript">
    $(function() {
        $("#grid").kendoGrid({
            dataSource: {
                transport: {
                    read: "get.php?request=yes&getStoreEmployeeData",
                    update: {
                        url: "post.php?update=storeEmployee",
                        type: "POST"
                    },
                    create: {
                        url: "post.php?create=storeEmployee",
                        type: "POST"
                    },
                    destroy: {
                        url: "post.php?delete=storeEmployee",
                        type: "POST"
                    },
                    parameterMap: function(options, operation) {
                        if (operation !== "read" && options.models) {
                            return { models: kendo.stringify(options.models) };
                        }
                    }
                },
                schema: {
                    data: "storeEmployeeData",
                    total: "storeEmployeeDataCount",
                    model: {
                        id: "ID",
                        fields: {
                            Id: { type: "number", editable: false, nullable: true },
                            FirstName: { type: "string", nullable: true, editable: true, validation: { required: false} },
                            MiddleName: { type: "string", nullable: true, editable: true, validation: { required: false} },
                            LastName: { type: "string", nullable: true, editable: true, validation: { required: false} }
                        }
                    }
                },
                batch: true,
                pageSize: 100
            },
            columns: [
                { field: "FirstName", title: "First Name", type: "string" },
                { field: "MiddleName", title: "Middle Name", type: "string" },
                { field: "LastName", title: "Last Name", type: "string" },
                { command: ["edit", "destroy"], title: " ", width: "200px" }
            ],
            sortable: true,
            editable: "inline",
            toolbar: ["create"],
            groupable: false,
             
            columnMenu: false,
            pageable: {
                refresh: true,
                pageSizes: [10, 20, 50, 100, 200, 300]
            },
            navigatable: false,
            scrollable: false,
            filterable: false,
            reorderable: true,
            resizable: false
        });
    });
</script>
Thanks, any help is greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 11 Jul 2013, 11:43 AM
Hi Pep,

 
I tried to reproduce the problem locally but to no avail – everything is working as expected on our side when using true IE7/8 (IE9 & IE10 modes that emulate IE7/8 are not supported). For convenience I recorded a small screencast based on this jsBin example. Could you please provide more information about the exact steps to reproduce it on our side?

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
PepLamb
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or