API reference: @salmonui/core/export-model
ExportHeaderCellinterface
import type { ExportHeaderCell } from '@salmonui/core/export-model';interface ExportHeaderCell {
readonly text: string;
readonly columnId: ColumnId;
readonly colIndex: number;
readonly colSpan: number;
readonly rowSpan: number;
readonly leaf: boolean;
readonly textAlign: 'start' | 'center' | 'end';
readonly style?: ExportCellStyle;
}
A header cell. Header rows list cells at their start column; covered positions have no entry.
| Name | Signature | Description |
|---|---|---|
text | readonly text: string; | |
columnId | readonly columnId: ColumnId; | |
colIndex | readonly colIndex: number; | Index of the first exported column the cell covers. |
colSpan | readonly colSpan: number; | |
rowSpan | readonly rowSpan: number; | |
leaf | readonly leaf: boolean; | |
textAlign | readonly textAlign: 'start' | 'center' | 'end'; | |
styleoptional | readonly style?: ExportCellStyle; | Set by header hooks ( |