New to KendoReact? Start a free 30-day trial
AggregateResult
AggregateResultPremium
The result of the aggregate operation where the keys are the field name used for the calculation and the values are an object with the aggregate function name and a resulting value.
js
const result = <AggregateResult>{
"unitPrice": { "sum": 53, "count": 2 },
"unitsInStock": { "sum": 66, "count": 3 }
};
console.log(result["unitPrice"].sum); //53