SheetXL - v0.8.0-beta.25
    Preparing search index...

    Interface PivotCellFormats

    What a laid-out table's definition writes into its cells' formats (pivotCellFormatsOf).

    interface PivotCellFormats {
        columns: number;
        empty: boolean;
        rows: number;
        top: number;
        formatAt(
            row: number,
            column: number,
        ): {
            labelIndent: number | null;
            numberFormat: string | number | undefined;
            user: ICellStyle.Properties<Serializable> | null;
        };
    }
    Index
    columns: number
    empty: boolean

    It has no fields: its cells hold nothing, and every one has a format, its box's.

    rows: number

    How many rows and columns it lays out, from the top-left cell of its page fields and location.

    top: number

    How many rows sit above its location: the page rows and the gap.

    • The number format of the cell (undefined for General), the indent it is set left by (null when it is not), and the style the table's own formats give it (null for none), which wins over the other two: those a user put on the table, or an empty table's box.

      Parameters

      • row: number
      • column: number

      Returns {
          labelIndent: number | null;
          numberFormat: string | number | undefined;
          user: ICellStyle.Properties<Serializable> | null;
      }