PdfExportDataGridProps

Properties that can be passed as a parameter to the exportDataGrid(options) method from the pdfExporter module.

Type:

Object

autoTableOptions

Options of the generated PDF table. Refer to the jsPDF-autoTable plugin documentation to see the full list of available customizations.

Type:

Object

Default Value: undefined

component

A DataGrid instance. This setting is required.

Type:

DataGrid

Default Value: undefined

customizeCell

Type:

Function

Function parameters:
options:

Object

Object structure:
Name Type Description
gridCell PdfDataGridCell

pdfCell

Object

jsPDFDocument

A jsPDF instance. This setting is required.

Type:

Object

Default Value: undefined

keepColumnWidths

Specifies whether columns in the PDF file should have the same width as their source widget's columns.

Type:

Boolean

Default Value: true

selectedRowsOnly

Specifies whether or not to export only selected rows.

Type:

Boolean

Default Value: false