Page Template
The GridPDFExport component enables you to specify a page template that will be additionally inserted into each PDF page of the native Vue Grid by Kendo UI.
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 page-template prop of the GridPDFExport component.
When you use a page template, you are required to set the
paper-sizeprop.
The following example demonstrates how to specify a page template that will be additionally inserted into each PDF page of the Grid. The template contains a header and a footer with the current page number and the total number of pages.