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

    Interface CellStyle

    Per-cell style override.

    interface CellStyle {
        alignment?: Partial<AlignmentData>;
        border?: Partial<
            {
                bottom: { color?: string
                | null; style: BorderStyle };
                left: { color?: string | null; style: BorderStyle };
                right: { color?: string | null; style: BorderStyle };
                top: { color?: string | null; style: BorderStyle };
            },
        >;
        fill?: { fgColor?: string; pattern?: string & {}
        | PatternType };
        font?: Partial<FontData>;
        numberFormat?: string;
    }
    Index
    alignment?: Partial<AlignmentData>
    border?: Partial<
        {
            bottom: { color?: string
            | null; style: BorderStyle };
            left: { color?: string | null; style: BorderStyle };
            right: { color?: string | null; style: BorderStyle };
            top: { color?: string | null; style: BorderStyle };
        },
    >
    fill?: { fgColor?: string; pattern?: string & {} | PatternType }
    font?: Partial<FontData>
    numberFormat?: string