New to Kendo UI for Angular? Start a free 30-day trial
PDFCommandToolbarDirective
Represents the export-to-PDF
toolbar tool of the Grid.
You can apply this directive to any kendo-toolbar-button
element inside a
ToolbarComponent used in the Grid.
When the user clicks the toolbar button that is associated with the directive, the pdfExport event fires (see example).
html
<kendo-grid>
<kendo-toolbar>
<kendo-toolbar-button text="PDF Export" kendoGridPDFTool></kendo-toolbar-button>
</kendo-toolbar>
<kendo-grid-pdf fileName="Grid.pdf">
</kendo-grid-pdf>
</kendo-grid>
Selector
[kendoGridPDFTool]