Last Updated: 15 Sep 2020 06:58 by ADMIN
Created on: 14 Oct 2019 18:13
Category: Grid
Type: Feature Request
Export Grid to PDF
Please add a feature to export the grid to a PDF file.
1 comment
Marin Bratanov
Posted on: 15 Sep 2020 06:57

Hi all,

You can find an example of using Kendo JS libraries to generate a PDF (and a JPG) out of the current DOM (for example, the current page of grid data) in this sample project: https://github.com/telerik/blazor-ui/tree/master/common/pdf-jpg-export-js.

You can use that in for the time being in projects that need this urgently, or you could generate larger PDF files (e.g., with all the data) through the Telerik Document Processing libraries (see here, here and here for starting points). If you need to do that with data according to the current grid filter, for example, you can cache the grid DataSource request (example) and re-run it on your backend (examples) without paging to get those filtered results.

A built-in PDF export from the grid the was put off because of performance reasons with WebAssembly scenarios. We are expecting improvements from .NET 5 to help with that, and we are also going to work on that internally (in our own product), and such a feature will eventually be implemented, so you can keep following this item for status updates. This page will be updated with a release number when we know when it will be available.

In place of this feature, we created grand total footers too.

Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.