| 601 | } |
| 602 | |
| 603 | export interface Column { |
| 604 | /** |
| 605 | * Can be a string to set one row high header or an array to set multi-row high header |
| 606 | */ |
| 607 | header?: string | string[]; |
| 608 | |
| 609 | /** |
| 610 | * The name of the properties associated with this column in each row |
| 611 | */ |
| 612 | key?: string; |
| 613 | |
| 614 | /** |
| 615 | * The width of the column |
| 616 | */ |
| 617 | width?: number; |
| 618 | |
| 619 | /** |
| 620 | * Set an outline level for columns |
| 621 | */ |
| 622 | outlineLevel: number; |
| 623 | |
| 624 | /** |
| 625 | * Hides the column |
| 626 | */ |
| 627 | hidden: boolean; |
| 628 | |
| 629 | /** |
| 630 | * Styles applied to the column |
| 631 | */ |
| 632 | style: Partial<Style>; |
| 633 | |
| 634 | /** |
| 635 | * The cell values in the column |
| 636 | */ |
| 637 | values: CellValue; |
| 638 | |
| 639 | /** |
| 640 | * Column letter key |
| 641 | */ |
| 642 | readonly letter: string; |
| 643 | readonly number: number; |
| 644 | readonly worksheet: Worksheet; |
| 645 | readonly isCustomWidth: boolean; |
| 646 | readonly headers: string[]; |
| 647 | readonly isDefault: boolean; |
| 648 | readonly headerCount: number; |
| 649 | |
| 650 | /** |
| 651 | * Below properties read from style |
| 652 | */ |
| 653 | border?: Partial<Borders>; |
| 654 | fill?: Fill; |
| 655 | numFmt?: string; |
| 656 | font?: Partial<Font>; |
| 657 | alignment?: Partial<Alignment>; |
| 658 | protection?: Partial<Protection>; |
| 659 | |
| 660 | toString(): string |