File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,12 @@ import { IPivotDimensionStrategy } from '../../data-operations/pivot-strategy';
77export type PivotAggregation = ( members : any [ ] , data : any [ ] ) => any ;
88
99export interface IPivotAggregator {
10+ // Aggregation unique key.
1011 key : string ;
12+ // Aggregation label to show in the UI.
1113 label : string ;
14+ // Aggregator function can be a custom implementation of PivotAggregation or
15+ // use predefined ones from IgxPivotAggregate and its variants.
1216 aggregator : ( members : any [ ] , data ?: any [ ] ) => any ;
1317}
1418
@@ -40,8 +44,7 @@ export interface IPivotValue {
4044 // display name if present shows instead of member for the column header of this value
4145 displayName ?: string ;
4246 /**
43- * Aggregation function - can be a custom implementation of PivotAggregation or
44- * use predefined ones from IgxPivotAggregate and its variants
47+ * Active aggregator definition with key, label and aggregator.
4548 */
4649 aggregate : IPivotAggregator ;
4750 /**
You can’t perform that action at this time.
0 commit comments