diff --git a/projects/igniteui-angular/src/lib/grids/column.component.ts b/projects/igniteui-angular/src/lib/grids/column.component.ts index 3fe020c4650..5dc1eef52f0 100644 --- a/projects/igniteui-angular/src/lib/grids/column.component.ts +++ b/projects/igniteui-angular/src/lib/grids/column.component.ts @@ -31,7 +31,7 @@ import { IgxDateFilteringOperand, IgxStringFilteringOperand } from '../data-operations/filtering-condition'; import { IgxGridBaseComponent } from './grid-base.component'; -import { SortingStateDefaults } from '../data-operations/sorting-state.interface'; +import { SortingStrategy } from '../data-operations/sorting-strategy'; /** * **Ignite UI for Angular Column** - * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid.html#columns-configuration) @@ -757,7 +757,7 @@ export class IgxColumnComponent implements AfterContentInit { /** *@hidden */ - protected _sortStrategy = SortingStateDefaults.strategy; + protected _sortStrategy = new SortingStrategy(); /** *@hidden */ diff --git a/projects/igniteui-angular/src/lib/grids/grid-base.component.ts b/projects/igniteui-angular/src/lib/grids/grid-base.component.ts index 468126e0cfa..7dbfb708b66 100644 --- a/projects/igniteui-angular/src/lib/grids/grid-base.component.ts +++ b/projects/igniteui-angular/src/lib/grids/grid-base.component.ts @@ -64,7 +64,6 @@ import { import { IgxGridNavigationService } from './grid-navigation.service'; import { DeprecateProperty } from '../core/deprecateDecorators'; import { DisplayDensity } from '../core/displayDensity'; -import { SortingStateDefaults } from '../data-operations/sorting-state.interface'; const MINIMUM_COLUMN_WIDTH = 136; diff --git a/projects/igniteui-angular/src/lib/grids/grid/grid.component.ts b/projects/igniteui-angular/src/lib/grids/grid/grid.component.ts index 944d718a0de..d3fa12aef37 100644 --- a/projects/igniteui-angular/src/lib/grids/grid/grid.component.ts +++ b/projects/igniteui-angular/src/lib/grids/grid/grid.component.ts @@ -23,7 +23,6 @@ import { IgxGridCellComponent } from '../cell.component'; import { IgxGridSortingPipe } from './grid.pipes'; import { IgxColumnComponent } from '../column.component'; import { takeUntil } from 'rxjs/operators'; -import { SortingStateDefaults } from 'igniteui-angular'; let NEXT_ID = 0;