API reference: @salmonui/core/export-model
ExportColumnDefinterface
import type { ExportColumnDef } from '@salmonui/core/export-model';interface ExportColumnDef {
readonly id?: string;
readonly field?: string;
readonly type?: ColumnType;
readonly format?: string | FormatOptions;
readonly header?: string;
}
The column definition fields an export hook may read (the Data Grid passes its column definition).
| Name | Signature | Description |
|---|---|---|
idoptional | readonly id?: string; | |
fieldoptional | readonly field?: string; | |
typeoptional | readonly type?: ColumnType; | |
formatoptional | readonly format?: string | FormatOptions; | |
headeroptional | readonly header?: string; |