API reference: @salmonui/core/export-model
CsvExportOptionsinterface
import type { CsvExportOptions } from '@salmonui/core/export-model';interface CsvExportOptions<Row> extends ExportOptions<Row>, CsvOptions {
}
| Name | Signature | Description |
|---|---|---|
delimiteroptionalinherited | delimiter?: string; | Default |
lineBreakoptionalinherited | lineBreak?: string; | Default |
includeHeadersoptionalinherited | includeHeaders?: boolean; | Header line with the leaf header texts. Default true. |
valuesoptionalinherited | values?: "formatted" | "raw"; |
|
aggregateRowsoptionalinherited | aggregateRows?: boolean; | Group caption, group footer, and grid footer aggregate lines. Default true. |
bomoptionalinherited | bom?: boolean; | Prefix a UTF-8 byte order mark (Excel detects UTF-8). Default false. |
quoteAlloptionalinherited | quoteAll?: boolean; | Quote every field instead of only those that need it. Default false. |
escapeFormulasoptionalinherited | escapeFormulas?: boolean; | Neutralize spreadsheet formulas in text cells: a leading |
treeDepthColumnoptionalinherited | treeDepthColumn?: string | boolean; | Tree mode: a leading column with each row's tree depth (0 for
roots). |
pagesoptionalinherited | pages?: "all" | "current"; |
|
includeHiddenColumnsoptionalinherited | includeHiddenColumns?: boolean; | Include hidden columns. Default false. |
rowsoptionalinherited | rows?: readonly Row[]; | Rows to export instead of the grid rows (for example the selected rows), with the grid's columns. |
columnsoptionalinherited | columns?: readonly ExportColumnOption[]; | Export-only columns, in order. |
fileNameoptionalinherited | fileName?: string; | Download name; the format extension is added when missing. Default |
hierarchyoptionalinherited | hierarchy?: "all" | "expanded" | "none"; | Detail and child-grid rows: |
treeoptionalinherited | tree?: "all" | "expanded"; | Tree mode rows: |