modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface ColumnInfo

    Column definition for width, visibility, and grouping.

    interface ColumnInfo {
        bestFit?: boolean;
        collapsed?: boolean;
        customWidth: boolean;
        hidden: boolean;
        max: number;
        min: number;
        outlineLevel?: number | null;
        phonetic?: boolean;
        styleIndex?: number;
        width: number;
    }
    Index
    bestFit?: boolean

    Whether the column is "best fit": Excel widens it to show numbers typed into its cells.

    collapsed?: boolean

    Whether this grouped column is collapsed.

    customWidth: boolean

    Whether the width was explicitly set (vs. default).

    hidden: boolean

    Whether this column is hidden.

    max: number

    1-based last column index of this span.

    min: number

    1-based first column index of this span.

    outlineLevel?: number | null

    Outline (grouping) level (1-7), or null if ungrouped.

    phonetic?: boolean

    Whether Excel shows the phonetic (furigana) guide for the column's cells.

    styleIndex?: number

    Index into StylesData.cellXfs that Excel applies to the column's empty cells and shows as its format.

    width: number

    Column width in Excel character units.