You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+66-5Lines changed: 66 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,79 @@ All notable changes for each version of this project will be documented in this
4
4
5
5
## 14.1.0
6
6
7
+
### New Features
8
+
-`IgxCombo` and `IgxSimpleComboComponent`
9
+
-`filterFunction` input is added. The new property allows changing of the way filtering is done in the combos. By default filtering is made over the values in combo's data when it is a collection of primitive values, or over the values as defined in `displayKey` of the combo. If custom filtering function is provided filtering will be done as specified in the provided function.
10
+
-`filteringOptions` are extended and now contains `filterable` and `filteringKey` properties. Setting `filterable` determines whether combo will be filterable. By default filtering is done over the data value when they are primitive, or over the field of the values equal to `displayKey`. `filteringKey` allows to filter data by any data related key.
11
+
7
12
-`igxPivotGrid`
8
13
- Add option to template the pivot value chip content:
9
14
```
10
15
<ng-template igxPivotValueChip let-value>
11
16
{{ value.member }}
12
17
</ng-template>
13
18
```
14
-
### New Features
15
-
- `IgxCombo` and `IgxSimpleComboComponent`
16
-
- `filterFunction` input is added. The new property allows changing of the way filtering is done in the combos. By default filtering is made over the values in combo's data when it is a collection of primitive values, or over the values as defined in `displayKey` of the combo. If custom filtering function is provided filtering will be done as specified in the provided function.
17
-
- `filteringOptions` are extended and now contains `filterable` and `filteringKey` properties. Setting `filterable` determines whether combo will be filterable. By default filtering is done over the data value when they are primitive, or over the field of the values equal to `displayKey`. `filteringKey` allows to filter data by any data related key.
18
-
- **Breaking Changes** - `filterable` property of `IgxComboComponent` is now deprecated and will be removed in future version. Use `filteringOptions.filterable` instead.
19
+
- Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional `pivotConfiguration` option:
20
+
21
+
```html
22
+
<igx-pivot-grid
23
+
#grid1
24
+
[igxGridState]="options" ...
25
+
```
26
+
27
+
```
28
+
public options : IGridStateOptions = {
29
+
pivotConfiguration: true
30
+
};
31
+
```
32
+
33
+
One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
34
+
As a result any custom functions set to `memberFunction`, `aggregator`, `formatter`, `styles` etc. will not be stored. Restoring any of these can be achieved with code on application level.
35
+
Hence we have also exposed 2 new events:
36
+
- `dimensionInit` - emits when a dimension from the configuration is being initialized.
37
+
- `valueInit` - emits when a value from the configuration is being initialized.
38
+
Which can be used to set back any custom functions you have in the configuration.
39
+
The default aggregator function, like the ones from `IgxPivotNumericAggregate`, `IgxPivotDateAggregate` etc., will be restored out of the box. However if you have any custom aggregators (or other custom functions) they need to be set back in the `valueInit`event, for example:
Same applies to any custom functions on the dimension, like `memberFunction`. If it is a custom function you can set it back on the `dimensionInit` event:
48
+
49
+
```
50
+
public onDimensionInit(dim: IPivotDimension) {
51
+
if (dim.memberName === 'AllCities') {
52
+
dim.memberFunction = () => 'All';
53
+
}
54
+
}
55
+
```
56
+
- `igxGridState`:
57
+
Exposed a `stateParsed` event to the state directive that can be used to additionally modify the grid state before it gets applied.
- Added ability to auto-size columns to the size of their cells and header content on initialization by setting width `auto`:
67
+
```
68
+
<column width='auto' ...>
69
+
```
70
+
- Added support for restoring filtering expressions with custom filtering operands for the `IgxGridStateDirective`.
71
+
72
+
- 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
+
74
+
### General
75
+
76
+
- **Breaking Changes** - `filterable` property of `IgxComboComponent` is now deprecated and will be removed in future version. Use `filteringOptions.filterable` instead.
77
+
78
+
### Theme Changes
79
+
- **Breaking Changes** - `$disable-shadow` property of `IgxTabsComponent` theme has been removed.
0 commit comments