Skip to content

Commit

Permalink
Adding changes from build igniteui-xplat-examples-output+PRs_2024.12.…
Browse files Browse the repository at this point in the history
…18.3 (#914)

Co-authored-by: tfsbuild <tfsbuild@infragistics.com>
  • Loading branch information
azure-pipelines[bot] and tfsbuild authored Dec 18, 2024
1 parent cbe42f4 commit 5ad17ac
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions samples/grids/pivot-grid/features/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,28 @@ export class Sample {
pivotValue1.member = "AmountofSale";
pivotValue1.displayName = "Amount of Sale";
pivotValue1.enabled = true;
var SumOfSale: IgcPivotAggregator = {} as IgcPivotAggregator;
SumOfSale.key = "SUM";
SumOfSale.label = "Sum of Sale";
SumOfSale.aggregator = this.pivotDataFlatAggregateSumSale;
SumOfSale.aggregatorName = "SUM";

var MinOfSale: IgcPivotAggregator = {} as IgcPivotAggregator;
MinOfSale.key = "MIN";
MinOfSale.label = "Minimum of Sale";
MinOfSale.aggregator = this.pivotDataFlatAggregateMinSale;
MinOfSale.aggregatorName = "MIN";

var MaxOfSale: IgcPivotAggregator = {} as IgcPivotAggregator;
MaxOfSale.key = "MAX";
MaxOfSale.label = "Maximum of Sale";
MaxOfSale.aggregatorName = "MAX";
MaxOfSale.aggregator = this.pivotDataFlatAggregateMaxSale;

pivotValue1.aggregateList = [SumOfSale,MinOfSale,MaxOfSale];
var pivotAggregator1: IgcPivotAggregator = {} as IgcPivotAggregator;
pivotAggregator1.key = "SUM";
pivotAggregator1.label = "Sum of Sale";
pivotAggregator1.aggregator = this.pivotDataFlatAggregateSumSale;

pivotValue1.aggregate = pivotAggregator1;
var pivotAggregator2: IgcPivotAggregator = {} as IgcPivotAggregator;
pivotAggregator2.key = "SUM";
pivotAggregator2.label = "Sum of Sale";
pivotAggregator2.aggregator = this.pivotDataFlatAggregateSumSale;

var pivotAggregator3: IgcPivotAggregator = {} as IgcPivotAggregator;
pivotAggregator3.key = "MIN";
pivotAggregator3.label = "Minimum of Sale";
pivotAggregator3.aggregator = this.pivotDataFlatAggregateMinSale;

var pivotAggregator4: IgcPivotAggregator = {} as IgcPivotAggregator;
pivotAggregator4.key = "MAX";
pivotAggregator4.label = "Maximum of Sale";
pivotAggregator4.aggregator = this.pivotDataFlatAggregateMaxSale;

pivotValue1.aggregateList = [pivotAggregator2,pivotAggregator3,pivotAggregator4];

pivotConfiguration1.values = [pivotValue1];

Expand Down

0 comments on commit 5ad17ac

Please sign in to comment.