Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.tsx #695

Merged
merged 5 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion browser/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = {
"plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
"plugin:@typescript-eslint/recommended" // Uses the recommended rules from @typescript-eslint/eslint-plugin
],
extends: ["@babel/plugin-transform-private-property-in-object", "next/core-web-vitals"],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
"default-case": "off",
Expand Down
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
2 changes: 1 addition & 1 deletion samples/inputs/color-editor/overview/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 { IgrColorEditorModule } from 'igniteui-react-inputs';
import { IgrColorEditor } from 'igniteui-react-dashboards';
import { IgrColorEditor } from 'igniteui-react-inputs';

const mods: any[] = [
IgrColorEditorModule
Expand Down
Loading