@squareys/webdecks-sdk - v0.0.0
    Preparing search index...

    Class PivotTable

    A pivot table on a sheet, addressed by (sheet, index). Built via Sheet.addPivotTable; this wrapper reads its model back and recomputes it. Reads round-trip through the engine.

    Hierarchy (View Summary)

    Index
    • get isValid(): boolean

      Whether this wrapper still refers to a live engine object.

      Returns boolean

    • set _index(value: number): void

      Parameters

      • value: number

      Returns void

    • get fieldCount(): number

      Number of fields.

      Returns number

    • get filterCount(): number

      Number of page/filter selections.

      Returns number

    • get sourceSheet(): number

      The 0-based source sheet index.

      Returns number

    • get outputRow(): number

      The output region's top row.

      Returns number

    • get outputColumn(): number

      The output region's left column.

      Returns number

    • Reference equality is the identity test — prefer a === b. This is retained only for the rare cross-realm case where two wrappers describe the same handle by value. Reads the raw index so comparing a stale wrapper never throws.

      Parameters

      • other: Handle<unknown> | null

      Returns boolean

    • A readable identity for logs and diagnostics, never [object Object].

      Returns string

    • The fieldIndex-th field, or null if out of range.

      Parameters

      • fieldIndex: number

      Returns PivotFieldInfo | null

    • Recompute the pivot's output region against its source. Returns whether it recomputed.

      Returns boolean