Skip to content

Commit

Permalink
fix(grid): more typing, few code enhacement #5460
Browse files Browse the repository at this point in the history
  • Loading branch information
hanastasov committed Nov 26, 2019
1 parent fc0d9c1 commit ded1908
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 137 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ All notable changes for each version of this project will be documented in this

- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
- **Behavioral Change** - Pinning columns is no longer automatically prevented when the pinning area would exceed the size of the grid.
- `igxGridState` directive added to make it easy for developers to save and restore the grid state. The directive exposes the `getState` and `setState` methods to save/restore the state and an `options` input property to exclude features.
- `IgxCarousel`:
- **Breaking Changes** -The carousel slides are no longer array, they are changed to QueryList.
- **Behavioural change** - When slides are more than 5, a label is shown instead of the indicators. The count limit of visible indicators can be changed with the input `maximumIndicatorsCount`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export interface IGroupingDoneEventArgs extends IBaseEventArgs {
ungroupedColumns: Array<IgxColumnComponent> | IgxColumnComponent;
}

export const INTERFACE_TOKEN = new InjectionToken<GridType>('GridTypeToken');

/**
* **Ignite UI for Angular Grid** -
* [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid.html)
Expand Down Expand Up @@ -68,10 +66,6 @@ export const INTERFACE_TOKEN = new InjectionToken<GridType>('GridTypeToken');
IgxColumnResizingService,
IgxForOfSyncService,
IgxForOfScrollSyncService,
{
provide: INTERFACE_TOKEN,
useExisting: forwardRef( () => IgxGridComponent)
},
IgxRowIslandAPIService
],
selector: 'igx-grid',
Expand Down
1 change: 1 addition & 0 deletions projects/igniteui-angular/src/lib/grids/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export * from './grid-common.module';
export { IColumnVisibilityChangedEventArgs } from './hiding/column-hiding-item.directive';
export * from './hiding/column-hiding.component';
export * from './pinning/column-pinning.component';
export * from './state.directive';
Loading

0 comments on commit ded1908

Please sign in to comment.