/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Represents the available cell selection aggregates. */ export interface SelectionAggregates { /** * The sum of all numbers in all selected cells bound to numeric fields. * Other selected cells that represent different data types do not affect the value. */ sum?: number; /** * The smallest number in all selected cells bound to numeric fields. * Other selected cells that represent different data types do not affect the value. */ min?: number; /** * The greatest number in all selected cells bound to numeric fields. * Other selected cells that represent different data types do not affect the value. */ max?: number; /** * The average of all numbers in all selected cells bound to numeric fields. * Other selected cells that represent different data types do not affect the value. */ average?: number; /** * The total number of selected cells. */ count?: number; /** * The number of selected cells bound to a `true` boolean value. * Selected cells with other data types do not affect the value. */ isTrue?: number; /** * The number of selected cells bound to a `false` boolean value. * Selected cells with other data types do not affect the value. */ isFalse?: number; /** * The earliest date in all selected cells bound to `Date` fields. * Other selected cells that represent different data types do not affect the value. */ earliest?: Date; /** * The latest date in all selected cells bound to `Date` fields. * Other selected cells that represent different data types do not affect the value. */ latest?: Date; } /** * Represents the available selection aggregate calculations. * Use with [`cellAggregates`](https://www.telerik.com/kendo-angular-ui/components/grid/api/selectablesettings) to control which aggregates the Grid calculates. */ export type SelectionAggregate = 'sum' | 'min' | 'max' | 'average' | 'count' | 'earliest' | 'latest' | 'isTrue' | 'isFalse';