Measure

Represents the PivotGrid measure object. Applicable for local data binding.

const sumMeasure = {
    name: 'Total Price',
    value: item => item.Price,
    aggregate: sumAggregate
};
NameTypeDefaultDescription

aggregate

Aggregate

The measure aggregate.

name

string | string[]

The name of the measure. Must be unique in the measures collection.

value

(item: any) => any

A function which returns the measuring value from the passed data item.

In this article

Not finding the help you need?