API reference: @salmonui/core/export-model
ExportSourceColumninterface
import type { ExportSourceColumn } from '@salmonui/core/export-model';interface ExportSourceColumn<Row> {
readonly columnId: ColumnId;
readonly path: readonly ColumnId[];
readonly def: ExportColumnDef;
readonly accessor: (row: Row) => unknown;
}
The host column behind an export column (the Data Grid passes its compiled column).
| Name | Signature | Description |
|---|---|---|
columnId | readonly columnId: ColumnId; | |
path | readonly path: readonly ColumnId[]; | Stacked header ancestry, root first, including this column. |
def | readonly def: ExportColumnDef; | |
accessor | readonly accessor: (row: Row) => unknown; |