Interface: ExportOptions\<TRow\>
Defined in: src/export/types.ts:4
Options for data export.
Type Parameters
TRow
TRow = unknown
Properties
columns?
optionalcolumns?:string[]
Defined in: src/export/types.ts:10
Which columns to include (default: all visible).
filename?
optionalfilename?:string
Defined in: src/export/types.ts:12
Custom filename (without extension).
format
format:
"csv"|"xlsx"
Defined in: src/export/types.ts:6
Export format.
formatters?
optionalformatters?:Record<string, (value,row) =>string>
Defined in: src/export/types.ts:16
Custom value formatter per column.
includeLevel?
optionalincludeLevel?:boolean
Defined in: src/export/types.ts:14
For tree data: include indent level as a column?
scope
scope:
"visible"|"all"|"selected"
Defined in: src/export/types.ts:8
Which rows to export.
sheetName?
optionalsheetName?:string
Defined in: src/export/types.ts:18
Sheet name for xlsx. Default: ‘Sheet1’.