Fitting Content to Paper Size

The GridPDFExport component enables you to scale the content of the KendoReact Data Grid when you export it to PDF.

By default, the paper size of the exported document is determined by the size of the Grid on the screen. However, you can define a specific paper size that will apply to the whole document. As a result, the content is scaled to fit the specified paper size. It is possible to override the automatic scale factorfor example, to make room for additional page elements.

The following example demonstrates how the Grid fits its content to the available paper size.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?