New to Kendo UI for Vue? Start a free 30-day trial

PDF Export

The Kendo UI Grid wrapper for Vue enables you to export its content to PDF.

To configure the PDF export functionality of the native Vue Grid by Kendo UI, refer to the native Vue Grid by Kendo UI documentation.


You can export Kendo UI Data Grid wrapper for Vue data to PDF and use the client PDF-export functionality which is server-agnostic and which relies on the Kendo UI Drawing library. To enable the export to PDF, include the corresponding command to the toolbar of the Grid and configure the settings accordingly. For example, you can choose to export all pages, margins, paper size, font, and so on. To initiate the PDF export programmatically, call the saveAsPdf method from the client API of the Grid.

View Source
Edit In Stackblitz  
Change Theme:


To modify the content of the exported PDF file, use CSS rules. When the user clicks the Export button, the page creates an individual element. Then it applies the CSS rules to that element and the files and the styling settings are exported.

.k-pdf-export .k-grid {
    font-family: "DejaVu Sans", "Arial", sans-serif;

To enable compression in the PDF output, load the pako zip library (pako_deflate.min.js) from CDN. This approach improves the performance of the Grid and increases the size of the content that can be exported.

<script src=""></script>

The Standard PDF fonts do not support Unicode characters. That is why, when you use one of the Kendo UI LESS-based themes which are referenced from CDN, provide the source files for embedding them in order for the output to use TrueType fonts.

    "DejaVu Sans": "",
    "DejaVu Sans|Bold": "",
    "DejaVu Sans|Bold|Italic": "",
    "DejaVu Sans|Italic": "",
    "WebComponentsIcons": ""

For more information, refer to the runnable StackBlitz example which uses the Pako library from CDN, the Default LESS theme, and external fonts.

In this article

Not finding the help you need?