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