SheetXL - v0.3.20
    Preparing search index...

    Interface ICellHeader

    A logic label for an entire span of cells in either direction.

    interface ICellHeader {
        get isICellHeader(): true;
        asCell(): ICell;
        createTemporaryCellHeader(update: ICellHeader.Modifiers): ICellHeader;
        getDisplayText(): string;
        getOrientation(): IRange.Orientation;
        getSize(): number;
        getSizeRelative(): number;
        getStyle(): IStyle;
        isCustomSize(): boolean;
        isEmpty(): boolean;
        isEqual(other: ICellHeader): boolean;
        isHidden(): boolean;
    }
    Index

    Accessors

    • get isICellHeader(): true

      For runtime introspection.

      Returns true

    Methods

    • Returns the header as an ICell.

      Returns ICell

    • Returns the header display.

      Returns string

    • The absolute size in pixels.

      Returns number

    • The style for the header.

      Returns IStyle

      This represents a default style for the entire span. It generally is not used for formatting the header itself.

    • Note - size can be a function of autoFitting isCustomSize means the field has set by the user and should not be autoSize due to autoFitting (unless explicitly done so by a user gesture)

      Returns boolean

    • If a cell has no sizing or custom formatting.

      Returns boolean

    • Returns true if the headers are logically equal.

      Parameters

      Returns boolean

    • Flag to indicate if column is hidden. Note - A column with a size > 0 but hidden is true is valid because when hiding a value we don't change the size so that an unhide will restore to it's previous location

      Returns boolean