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 (#710)

Co-authored-by: tfsbuild <[email protected]>
  • Loading branch information
azure-pipelines[bot] and tfsbuild authored Dec 18, 2024
1 parent c90ed00 commit 5d2cb25
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions samples/grids/pivot-grid/features/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,28 @@ export default class Sample extends React.Component<any, any> {
igrPivotValue1.member = "AmountofSale";
igrPivotValue1.displayName = "Amount of Sale";
igrPivotValue1.enabled = true;
var SumOfSale = new IgrPivotAggregator();
SumOfSale.key = "SUM";
SumOfSale.label = "Sum of Sale";
SumOfSale.aggregator = this.pivotDataFlatAggregateSumSale;
SumOfSale.aggregatorName = "SUM";

var MinOfSale = new IgrPivotAggregator();
MinOfSale.key = "MIN";
MinOfSale.label = "Minimum of Sale";
MinOfSale.aggregator = this.pivotDataFlatAggregateMinSale;
MinOfSale.aggregatorName = "MIN";

var MaxOfSale = new IgrPivotAggregator();
MaxOfSale.key = "MAX";
MaxOfSale.label = "Maximum of Sale";
MaxOfSale.aggregatorName = "MAX";
MaxOfSale.aggregator = this.pivotDataFlatAggregateMaxSale;

igrPivotValue1.aggregateList = [SumOfSale,MinOfSale,MaxOfSale];
var igrPivotAggregator1 = new IgrPivotAggregator();
igrPivotAggregator1.key = "SUM";
igrPivotAggregator1.label = "Sum of Sale";
igrPivotAggregator1.aggregator = this.pivotDataFlatAggregateSumSale;

igrPivotValue1.aggregate = igrPivotAggregator1;
var igrPivotAggregator2 = new IgrPivotAggregator();
igrPivotAggregator2.key = "SUM";
igrPivotAggregator2.label = "Sum of Sale";
igrPivotAggregator2.aggregator = this.pivotDataFlatAggregateSumSale;

var igrPivotAggregator3 = new IgrPivotAggregator();
igrPivotAggregator3.key = "MIN";
igrPivotAggregator3.label = "Minimum of Sale";
igrPivotAggregator3.aggregator = this.pivotDataFlatAggregateMinSale;

var igrPivotAggregator4 = new IgrPivotAggregator();
igrPivotAggregator4.key = "MAX";
igrPivotAggregator4.label = "Maximum of Sale";
igrPivotAggregator4.aggregator = this.pivotDataFlatAggregateMaxSale;

igrPivotValue1.aggregateList = [igrPivotAggregator2,igrPivotAggregator3,igrPivotAggregator4];

pivotConfiguration1.values = [igrPivotValue1];

Expand Down

0 comments on commit 5d2cb25

Please sign in to comment.