The options to apply on the Print export.

interface GridPrintExportOptions {
    allColumns?: boolean;
    bodyClassName?: string;
    copyStyles?: boolean;
    fields?: string[];
    fileName?: string;
    getRowsToExport?: ((params: GridPrintGetRowsToExportParams<GridApiCommunity>) => GridRowId[]);
    hideFooter?: boolean;
    hideToolbar?: boolean;
    includeCheckboxes?: boolean;
    pageStyle?: string | (() => string);
}

Hierarchy (view full)

Properties

allColumns?: boolean

If true, the hidden columns will also be exported.

false
bodyClassName?: string

One or more classes passed to the print window.

copyStyles?: boolean

If false, all