Skip to content

Commit c0c6ef4

Browse files
MKirovaMKirova
authored andcommitted
Add some comments to new props.
1 parent 507be60 commit c0c6ef4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.interface.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ import { IPivotDimensionStrategy } from '../../data-operations/pivot-strategy';
77
export type PivotAggregation = (members: any[], data: any[]) => any;
88

99
export 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
/**

0 commit comments

Comments
 (0)