TreeListPDFExport

A subclass of React.Component.

A React component which facilitates the PDF export of the TreeList.

props Readonly<TreeListPDFExportProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the TreeListPDFExport component.

Methods

save

Saves the content of the TreeList as a PDF file.

Parameters

data? any[]

The data that will be exported to the PDF. The data can be different from the currently displayed data in the TreeList.

columns? any[]

The columns that will be exported to the PDF. The columns collection can be different from the currently displayed in the TreeList.

callback? () => void

The callback that will be executed after the PDF is saved.