Interface PivotValueInfoIf

A value of a pivot table as the table uses it: name, label, aggregator and format resolved (PivotResult.values, PivotColumnInfoIf.value).

Example

const pivotBody = pivotModel.getPivotBody();
pivotBody.getResult().values.map(v => v.name); // ["sum(umsatz)"]

Since

1.1.94

Hierarchy

  • PivotValueInfoIf

Properties

aggregator: AggregatorIf<any, unknown>

The aggregator.

format?: ((result) => string)

Type declaration

    • (result): string
    • The format of a result, if one was given.

      Parameters

      • result: unknown

      Returns string

label: string

The header label.

name: string
showValuesAs?: ShowValuesAsIf

„Show values as“, if one was given (since 1.1.95).