Page Template

The GridPDFExport component enables you to specify a page template that will be additionally inserted into each PDF page of the KendoReact Data Grid.

Specifying a page template helps you position the content and add headers, footers, and other elements. To style the exported document, use CSS. During the PDF export, the template is positioned in a container with the specified paper size. To define a page template, specify the pageTemplate property of the GridPDFExport component.

When you use a page template, you are required to set the paperSize property.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?