New to Kendo UI for jQuery? Download free 30-day trial

Export Troubleshooting

This article provides solutions for issues you might encounter while exporting the content of the Grid to Excel.

JavaScript error that JSZip is not found is thrown

Clicking Export to Excel or calling the saveAsExcel throws an exception if the JSZip JavaScript library is not found. To solve this issue, include JSZip in the page. For more information, refer to the introductory article on Excel export.

Excel export is not working in Internet Explorer and Safari

Internet Explorer 9 and Safari do not support the option for saving a file and require the implementation of a server proxy. To work around this issue, set the proxyURL option to specify the server proxy URL.

    <script src="https://unpkg.com/jszip/dist/jszip.min.js"></script>

    <div id="grid"></div>
    <script>
        $("#grid").kendoGrid({
            toolbar: ["excel"],
            excel: {
                fileName: "Kendo UI Grid Export.xlsx",
                proxyURL: "/proxy"
            },
            dataSource: {
                type: "odata",
                transport: {
                    read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products"
                },
                pageSize: 7
            },
            sortable: true,
            pageable: true,
            columns: [
                { width: 300, field: "ProductName", title: "Product Name" },
                { field: "UnitsOnOrder", title: "Units On Order" },
                { field: "UnitsInStock", title: "Units In Stock" }
            ]
        });
    </script>

See Also

In this article