Skip to content

Commit a5574f8

Browse files
authored
Merge pull request #10297 from IgniteUI/mdragnev/grinders-deprecations
Remove deprecated properties for column pinning and hiding
2 parents a91a777 + e65860d commit a5574f8

18 files changed

+264
-479
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ All notable changes for each version of this project will be documented in this
77
### New Features
88
- `IgxCsvExporterService`, `IgxExcelExporterService`
99
- Exporter services are no longer required to be provided in the application since they are now injected on a root level.
10+
- `IgxGridToolbarPinningComponent`, `IgxGridToolbarHidingComponent`
11+
- Exposed new input `buttonText` which sets the text that is displayed inside the dropdown button in the toolbar.
1012

1113
### General
1214

@@ -23,7 +25,14 @@ All notable changes for each version of this project will be documented in this
2325
};
2426
this.alert.positionSettings = this.newPositionSettings;
2527
```
26-
28+
- `igxGrid`, `igxHierarchicalGrid`, `igxTreeGrid`
29+
- **Breaking Change** - The following deprecated inputs have been removed
30+
- Inputs `showToolbar`, `toolbarTitle`, `columnHiding`, `columnHidingTitle`, `hiddenColumnsText`,
31+
`columnPinning`, `columnPinningTitle`, `pinnedColumnsText`.
32+
Use `IgxGridToolbarComponent`, `IgxGridToolbarHidingComponent`, `IgxGridToolbarPinningComponent` instead.
33+
- `IgxColumnActionsComponent`
34+
- **Breaking Change** - The following input has been removed
35+
- Input `columns`. Use `igxGrid` `columns` input instead.
2736
## 12.2.1
2837

2938
### New Features

projects/igniteui-angular/src/lib/grids/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -193,17 +193,9 @@ Below is the list of all inputs that the developers may set to configure the gri
193193
|`transactions`| `TransactionService` | Transaction provider allowing access to all transactions and states of the modified rows. |
194194
|`summaryPosition`| GridSummaryPosition | The summary row position for the child levels. The default is top. |
195195
|`summaryCalculationMode`| GridSummaryCalculationMode | The summary calculation mode. The default is rootAndChildLevels, which means summaries are calculated for root and child levels.|
196-
|`columnHiding`| boolean | Returns whether the column hiding UI for the `IgxGridComponent` is enabled.|
197-
| `columnHidingTitle`| string | The title to be displayed in the built-in column hiding UI.|
198-
| `columnPinning` | boolean | Returns if the built-in column pinning UI should be shown in the toolbar. |
199-
| `columnPinningTitle` | string | The title to be displayed in the UI of the column pinning.|
200196
| `rowHeight` | number | Sets the row height. |
201197
| `columnWidth` | string | The default width of the `IgxGridComponent`'s columns. |
202198
|`primaryKey`| any | Property that sets the primary key of the `IgxGridComponent`. |
203-
|`hiddenColumnsText`| string | The text to be displayed inside the toggle button for the built-in column hiding UI of the`IgxColumnComponent`. |
204-
|`pinnedColumnsText`| string | the text to be displayed inside the toggle button for the built-in column pinning UI of the`IgxColumnComponent`. |
205-
|`showToolbar`| boolean | Specifies whether the `IgxGridComponent`'s toolbar is shown or hidden.|
206-
|`toolbarTitle`| string | the toolbar's title. |
207199
|`exportExcel`| boolean | Returns whether the option for exporting to MS Excel is enabled or disabled. |
208200
|`exportCsv`| boolean | Returns whether the option for exporting to CSV is enabled or disabled.|
209201
|`exportText`| string | Returns the textual content for the main export button.|

projects/igniteui-angular/src/lib/grids/column-actions/column-actions.component.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { IgxColumnActionsBaseDirective } from './column-actions-base.directive';
1616
import { IgxCheckboxComponent } from '../../checkbox/checkbox.component';
1717
import { IColumnToggledEventArgs } from '../common/events';
1818
import { IgxGridBaseDirective } from '../grid-base.directive';
19-
import { DeprecateProperty } from '../../core/deprecateDecorators';
2019

2120
let NEXT_ID = 0;
2221
/**
@@ -172,27 +171,6 @@ export class IgxColumnActionsComponent implements DoCheck {
172171
this._differ = this.differs.find([]).create(this.trackChanges);
173172
}
174173

175-
/**
176-
* Gets the grid columns to provide an action for.
177-
*
178-
* @deprecated
179-
* @example
180-
* ```typescript
181-
* let gridColumns = this.columnActions.columns;
182-
* ```
183-
*/
184-
@DeprecateProperty(`Deprecated. Use 'grid' input instead.`)
185-
@Input()
186-
public get columns() {
187-
return this.grid?.columns;
188-
}
189-
190-
public set columns(value) {
191-
if (value && value.length > 0) {
192-
this.grid = value[0].grid;
193-
}
194-
}
195-
196174
/**
197175
* Gets the prompt that is displayed in the filter input.
198176
*

0 commit comments

Comments
 (0)