ExcelStyleConfig
Configuration for styled Excel export.
Controls header styles, per-column and per-cell formatting, column widths, and auto-fit behavior in Excel XML output.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
headerStyle? | ExcelCellStyle | Style applied to all header cells |
defaultStyle? | ExcelCellStyle | Default style for all data cells |
columnStyles? | Record<string, ExcelCellStyle> | Per-column style overrides (keyed by field name) |
cellStyle? | (value: unknown, field: string, row: unknown) => ExcelCellStyle | undefined | Callback for per-cell dynamic styling |
columnWidths? | Record<string, number> | Column width overrides in characters (keyed by field name) |
autoFitColumns? | boolean | Auto-fit column widths based on content (default: false) |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt