PdfExportBeforeEvent

Represents event arguments triggered before the PDF export operation begins. Provides access to grid data, columns, and export configuration, allowing customization or cancellation. Enables data transformation, column filtering, or validation before PDF generation.

Props

The following table outlines the props for the PdfExportBeforeEvent:

NameTypeDefaultDescription
cancel
boolean
false

Flag to cancel the export operation. Set to true to prevent the PDF generation and download.

columns
-

Array of columns to be included in the PDF export. Modify this array to include/exclude columns or reorder them before export.

config
-

PDF export configuration settings applied to the current operation. Contains information about the export range, file name, and styling options.

dataSource
T[]
-

Array of data records to be exported to PDF. Modify this array to transform, filter, or sort data before export.