API REFERENCE
CsvExportOptions
Fields, allowed values, and APIs that use CsvExportOptions.
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 CsvExportOptions<TRow = Record<string, unknown>> {
columns: ReadonlyArray<CsvExportColumn>;
rows: ReadonlyArray<TRow>;
delimiter?: string;
lineTerminator?: string;
includeHeaders?: boolean;
bom?: boolean;
locale?: string;
blankForNullish?: boolean;
escapeFormulae?: boolean;
}APIs using this type
- getDataAsCsv
Returns an object with CSV text and output row/column counts. Read the string from its csv field.