Kendo Grid Export Checked Rows

1 Answer 285 Views
Grid
Emre
Top achievements
Rank 1
Emre asked on 21 May 2021, 11:18 AM
I want to export excel on kendo grid. I can export all rows as excel successfully. But I'm trying to export only checked rows using `grid.exportSelectedToExcel(true);`. 
But this throw an error 

    Uncaught TypeError: grid.exportSelectedToExcel is not a function
        at exportSelectedAssets (<anonymous>:103:22)
        at HTMLButtonElement.onclick



I'm using jszip.min.js (JSZip v3.1.5 - A JavaScript class for generating and reading zip files)

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 26 May 2021, 06:28 AM | edited on 26 May 2021, 06:28 AM

Hello Emre,

As this is new functionality available with the 2021.2.511 Kendo UI release please ensure you have upgraded to it successfully:

 - Download the controls

 - Add the Required JavaScript and CSS Files:

 

<head>
    <meta charset="utf-8" />
    <title>Getting Started with Kendo UI for jQuery</title>

    <link href="https://kendo.cdn.telerik.com/2021.2.511/styles/kendo.common.min.css" rel="stylesheet" />
    <link href="https://kendo.cdn.telerik.com/2021.2.511/styles/kendo.default.min.css" rel="stylesheet" />
    <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2021.2.511/js/kendo.all.min.js"></script>
</head>
<body>

 

Here is more information about this: https://docs.telerik.com/kendo-ui/intro/first-steps

Let me know if this resolves the problem.

Regards,
Nikolay
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Emre
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or