New to Kendo UI for Angular? Start a free 30-day trial
PDFCommandToolbarDirective
Represents the PDF export toolbar tool of the Grid.
Apply this directive to any kendo-toolbar-button
element inside a ToolbarComponent in the Grid.
When you click the toolbar button with this directive, the pdfExport
event fires. (See example).
html
<kendo-grid>
<kendo-toolbar>
<kendo-toolbar-button text="Export to PDF" kendoGridPDFTool></kendo-toolbar-button>
</kendo-toolbar>
<kendo-grid-pdf fileName="products.pdf"></kendo-grid-pdf>
</kendo-grid>
Selector
[kendoGridPDFTool]