API REFERENCE
PdfExportOptions
Fields, allowed values, and APIs that use PdfExportOptions.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface PdfExportOptions<TRow = Record<string, unknown>> {
columns: ReadonlyArray<PdfExportColumn>;
rows: ReadonlyArray<TRow>;
pageSize?: PdfExportPageSize;
orientation?: PdfExportOrientation;
title?: string;
footer?: string;
pageNumbers?: boolean;
zebra?: boolean;
author?: string;
locale?: string;
fontBytes?: PdfExportFontBytes;
fontBaseName?: string;
blankForNullish?: boolean;
fit?: 'shrink' | 'orient' | 'none';
}