SheetXL - v1.0.2
    Preparing search index...

    Interface IValuesField

    Where a table's values sit among the fields of an axis, with two or more of them.

    A view of the table. While a table has fewer than two values they sit nowhere, and the table keeps the axis and the place for the next.

    interface IValuesField {
        isIPivotValuesField: true;
        getAxis(): IPivotTable.Axis | null;
        getName(): string;
        getPivotTable(): IPivotTable;
        getPosition(): number | null;
        setAxis(
            axis: IPivotTable.Axis | null,
            position?: number,
            options?: ITransaction.OperationOptions,
        ): Promise<void>;
        setName(
            name: string,
            options?: ITransaction.OperationOptions,
        ): Promise<void>;
        setPosition(
            position: number,
            options?: ITransaction.OperationOptions,
        ): Promise<void>;
    }
    Index
    isIPivotValuesField: true

    For runtime type checking.

    • Returns its caption.

      Returns string

    • Returns its place among the fields of its axis, counted from 1; null once the values have gone.

      Returns number | null

    • Moves the values to the rows or the columns, as one step that can be undone; null deletes every value.

      Parameters

      Returns Promise<void>

      ExpectedError For the page axis, the values, or a position not on the axis.

    • Changes its caption, which no field or value of the table can have, without regard to case.

      Parameters

      Returns Promise<void>

      ExpectedError For a caption taken.

    • Moves it along its axis, as one step that can be undone.

      Parameters

      Returns Promise<void>

      ExpectedError For a position not on the axis, or once the values have gone.