Skip to content

Commit

Permalink
Merge branch 'vnext' into ESShared/XPlaform_examples_igniteui-xplat-e…
Browse files Browse the repository at this point in the history
…xamples-output+PRs_2024.12.17.7
  • Loading branch information
HUSSAR-mtrela authored Dec 18, 2024
2 parents 037e23f + f401366 commit d81c3e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/grids/pivot-grid/features/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client';
import './index.css';

import { IgrPivotGridModule } from 'igniteui-react-grids';
import { IgrPivotGrid, IgrPivotConfiguration, IgrPivotDateDimension, IgrPivotDimension, IgrPivotDateDimensionOptions, SortingDirection, IgrPivotValue, IgrPivotAggregator } from 'igniteui-react-grids';
import { IgrPivotGrid, IgrPivotConfiguration, IgrPivotDateDimension, IgrPivotDimension, IgrPivotDateDimensionOptions, SortingDirection, IgrPivotValue, IgrPivotAggregator, PivotAggregationType} from 'igniteui-react-grids';
import { PivotDataFlatItem, PivotDataFlat } from './PivotDataFlat';

import 'igniteui-react-grids/grids/combined';
Expand Down Expand Up @@ -66,18 +66,18 @@ export default class Sample extends React.Component<any, any> {
SumOfSale.key = "SUM";
SumOfSale.label = "Sum of Sale";
SumOfSale.aggregator = this.pivotDataFlatAggregateSumSale;
SumOfSale.aggregatorName = "SUM";
SumOfSale.aggregatorName = PivotAggregationType.SUM;

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

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

igrPivotValue1.aggregateList = [SumOfSale,MinOfSale,MaxOfSale];
Expand Down

0 comments on commit d81c3e5

Please sign in to comment.