|
2 | 2 |
|
3 | 3 | All notable changes for each version of this project will be documented in this file.
|
4 | 4 |
|
| 5 | +## 15.0.0 |
| 6 | + |
| 7 | +### New Features |
| 8 | +- `igxGrid` - exposing new Input properties: |
| 9 | + |
| 10 | + - `excelStyleHeaderIconTemplate` - Gets/Sets the excel style header icon. |
| 11 | + - `groupRowTemplate` - Gets/Sets the template reference for the group row. |
| 12 | + - `headSelectorTemplate` - Gets/Sets the header row selector template. |
| 13 | + - `rowSelectorTemplate` - Gets/Sets the custom template used for row selectors. |
| 14 | + - `groupByRowSelectorTemplate` - Gets/Sets the custom template used for the group row selectors. |
| 15 | + - `sortHeaderIconTemplate` - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are not sorted. |
| 16 | + - `sortAscendingHeaderIconTemplate` - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in asc order. |
| 17 | + - `sortDescendingHeaderIconTemplate` - Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in desc order. |
| 18 | + - `rowEditActionsTemplate` - Gets/Sets the row edit actions template. |
| 19 | + - `rowAddTextTemplate` - Gets/Sets the row add text template. |
| 20 | + - `rowEditTextTemplate` - Gets/Sets the row edit text template. |
| 21 | + - `dragGhostCustomTemplate` - Gets/Sets the custom template used for row drag. |
| 22 | + - `dragIndicatorIconTemplate` - Gets/Sets the custom template used for row drag indicator. |
| 23 | + - `detailTemplate` - Gets/Sets the master-detail template. |
| 24 | + |
| 25 | +## 14.2.0 |
| 26 | + |
| 27 | +### New Features |
| 28 | +- The filtering logic inside the grid's Advanced Filtering is now extracted as a separate `IgxQueryBuilder` component. The Query Builder allows you to build complex queries by specifying AND/OR operators, conditions and values using the UI. It outputs an object describing the structure of the query. Use the `locale` property to modify the locale settings. The default value is resolved to the global Angular application locale. The `resourceStrings` allows changing the displayed strings. |
| 29 | + |
| 30 | + - Code example below: |
| 31 | + |
| 32 | + ```html |
| 33 | + <igx-query-builder [fields]="fields"> |
| 34 | + <!-- Custom header --> |
| 35 | + <igx-query-builder-header [title]="'Custom title'" |
| 36 | + [showLegend]="false"> |
| 37 | + </igx-query-builder-header> |
| 38 | + </igx-query-builder> |
| 39 | + ``` |
| 40 | + |
| 41 | + - For more information, check out the [README](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/query-builder/README.md), [specification](https://github.com/IgniteUI/igniteui-angular/wiki/Query-Builder) and [official documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/query-builder). |
| 42 | + |
| 43 | +- `IgxExcelExporterService` |
| 44 | + - Added support for exporting `igxPivotGrid`. |
| 45 | + |
| 46 | +### General |
| 47 | + |
| 48 | +- **Breaking Changes** - The Excel exporter service `exportEnded` event has its `xlsx` argument type changed as `igniteui-angular` no longer depends on `JSZip`. Instead of providing a `JSZip` instance it is now an object describing the structure of the Excel file with property names corresponding to folders or files, folders being objects themselves that can be traversed down, while files have their contents as `Uint8Array`. The same structure is used to package as a zip file by `fflate`'s API. |
| 49 | +- `IgxDropDown` |
| 50 | + - The `aria-label` attribute of the `IgxDropDownItemBase` can now be se to a custom value for its descendants (of which `IgxDropDownItem`) by the `ariaLabel` property. |
| 51 | + |
5 | 52 | ## 14.1.0
|
6 | 53 |
|
7 | 54 | ### New Features
|
@@ -63,14 +110,40 @@ All notable changes for each version of this project will be documented in this
|
63 | 110 | ```
|
64 | 111 |
|
65 | 112 | - `igxGrid`
|
| 113 | + - Added built-in validation mechanism for Grid Editing. Extends the [Angular Form validation](https://angular.io/guide/form-validation) functionality |
| 114 | + You can configure it in 2 ways: |
| 115 | + 1. Via template-driven configuration on the `igx-column` of the grid: |
| 116 | + ```html |
| 117 | + <igx-column required minlength="4" ...> |
| 118 | + ``` |
| 119 | + 2. Via reactive forms using the FormGroup exposed via the `formGroupCreated` event of the grid: |
| 120 | + |
| 121 | + ```html |
| 122 | + <igx-grid (formGroupCreated)='formCreateHandler($event)' ...> |
| 123 | + ``` |
| 124 | + |
| 125 | + ```ts |
| 126 | + public formCreateHandler(formGr: FormGroup) { |
| 127 | + // add a validator |
| 128 | + const prodName = formGr.get('UserName'); |
| 129 | + prodName.addValidators(forbiddenNameValidator(/bob/i)) |
| 130 | + } |
| 131 | + ``` |
| 132 | + |
| 133 | + Edited cells will enter an invalid state when validation fails and will show an error icon and message. Cell will remain invalid until the value is edited to a valid value or the related state in the validation service is cleared. |
| 134 | + |
| 135 | + You can refer to the documentation for more details: https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/validation |
66 | 136 | - Added ability to auto-size columns to the size of their cells and header content on initialization by setting width `auto`:
|
67 | 137 | ```
|
68 | 138 | <column width='auto' ...>
|
69 | 139 | ```
|
70 | 140 | - Added support for restoring filtering expressions with custom filtering operands for the `IgxGridStateDirective`.
|
| 141 | + |
71 | 142 |
|
72 | 143 | - Added the `IgcFormControl` directive that, when imported with its `IgcFormsModule`, is designed to seamlessly attach to form components from the Ignite UI for WebComponents package and allows using them in Angular templates and reactive forms with support for `ngModel` and `formControlName` directives. Currently the only Web Component with support through the directive is `igc-rating`.
|
73 | 144 |
|
| 145 | + |
| 146 | + |
74 | 147 | ### General
|
75 | 148 |
|
76 | 149 | - **Breaking Changes** - `filterable` property of `IgxComboComponent` is now deprecated and will be removed in future version. Use `filteringOptions.filterable` instead.
|
|
0 commit comments