ExcelStyleConfig
Since v2.0.0
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 |
groupHeaderStyle? | ExcelCellStyle | Style applied to cells in plugin-contributed header rows (e.g. the column-group header row). Falls back to headerStyle when omitted. v2.10.0+ |
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://toolboxjs.com/llms-full.txt