Type alias PivotValue<T>

PivotValue<T>: ValueAccessor<T> | PivotValueIf<T>

A value of a pivot table: a property path or function (summed) or the full form PivotValueIf.

Type Parameters

  • T = any

    the row type

Example

const values: PivotValue<Sale>[] = ["umsatz", { value: "umsatz", aggregator: "count", label: "Count" }];

Since

1.1.94