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
fix(grid): update response from emitRowSelectionEvent to have whole record (#12400)
* fix(grid): update response from emitRowSelectionEvent to have whole record
* feat(*): initial implementation of the rowSelection event unification #12371
* fix(grid): fix the issues with selection of multiple rows#12371
* fix(grid): apply selection correctly when filtering is applied #12371
* fix(grid): add owner to the rowSelectionChanges event args #12502
* feat(treeGrid): tree grid should also emit row data instead row IDs #12371
* feat(Grid): delect row without event when is deleted #12371
* chore(*): fix issue with TGrid selection params
* chore(*): use correct method
* fix(PGrid): update the selection service to work properly for the pGrid #12371
* chore(*): some minor code implovements and clean up
* chore(*): update changelog - unification of the rowSelectionChanging event args
* chore(*): address the review comments
* feat(grid): add comments to code around the blocking scenario
* chore(*): remove import that is not used
* fix(*): emit partial rowData when grid is working with remote data
* chore(*): update the change log with remote row selection
* fix(grid): create new partial data object on erach iteration
* fix(grid): take care if primaryKey si set
* chore(grid): remove debugging lines
* chore(*): type the emitted object
* chore(*): dont import from public api
* chore(*): add test and enhance the logic for rowSelection in tGrid without PK
* chore(*): fix test due to whitespace mismatch
* chore(*): give the mathod 'getPivotRows' more meaningful name
---------
Co-authored-by: Hristo <[email protected]>
Co-authored-by: Desislava Dincheva <[email protected]>
Co-authored-by: ddincheva <[email protected]>
Co-authored-by: Stamen Stoychev <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,17 @@
3
3
All notable changes for each version of this project will be documented in this file.
4
4
5
5
## 15.1.0
6
-
7
6
### General
8
7
-`IgxPivotGrid`
9
8
- The `IgxPivotDateDimension` properties `inBaseDimension` and `inOption` have been deprecated and renamed to `baseDimension` and `options` respectively.
10
9
-`IgxGrid`
11
10
-**Breaking Change** The `onGroupingDone` output has been renamed to `groupingDone` to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on `ng update`.
12
11
-`DisplayDensity`
13
-
-**Breaking Change** The `onDensityChanged` output has been renamed to `densityChanged` to not violate the no on-prefixed outputs convention. All components expolsing this event are affected. Automatic migrations are available and will be applied on `ng update`.
12
+
-**Breaking Change** The `onDensityChanged` output has been renamed to `densityChanged` to not violate the no on-prefixed outputs convention. All components exposing this event are affected. Automatic migrations are available and will be applied on `ng update`.
13
+
-`IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
14
+
-**Breaking Change** - `rowSelectionChanging` event arguments are changed. Now the `oldSelection`, `newSelection`, `added` and `removed` collections no longer consist of the row keys of the selected elements when the grid has set a primaryKey, but now in any case the row data is emitted.
15
+
When the grid is working with remote data and a primary key has been set- for the selected rows that are not currently part of the grid view, will be emitted a partial row data object.
16
+
-**Behavioral Change** - When selected row is deleted from the grid component `rowSelectionChanging` event will no longer be emitted.
14
17
-`IgxCarousel`
15
18
-**Breaking Change** The `onSlideChanged`, `onSlideAdded`, `onSlideRemoved`, `onCarouselPaused` and `onCarouselPlaying` outputs have been renamed to `slideChanged`, `slideAdded`, `slideRemoved`, `carouselPaused` and `carouselPlaying` to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on `ng update`.
16
19
-`IgxRadio`, `IgxRadioGroup`
@@ -24,7 +27,7 @@ All notable changes for each version of this project will be documented in this
24
27
-`igxPivotGrid`
25
28
- Adding `aggregatorName` for pivot value configuration as an alternative to setting `aggregator` function. If both are set `aggregatorName` takes precedent. If none are set an error is thrown.
26
29
-`IgxSimpleCombo`
27
-
-**Behavioral Change**
30
+
-**Behavioral Change**
28
31
- When the user clicks on the combo's input, the dropdown opens up.
29
32
- Keyboard navigation `ArrowUp` - when the combo is opened `ArrowUp` will close the dropdown if the search input is focused. If the active item is the first one in the list, the focus will be moved back to the search input while also selecting all of the text in the input. Otherwise `ArrowUp` will move to the previous list item.
30
33
@@ -109,7 +112,7 @@ All notable changes for each version of this project will be documented in this
109
112
110
113
### New Features
111
114
- 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.
112
-
115
+
113
116
- Code example below:
114
117
115
118
```html
@@ -145,7 +148,7 @@ All notable changes for each version of this project will be documented in this
145
148
<ng-template igxPivotValueChip let-value>
146
149
{{ value.member }}
147
150
</ng-template>
148
-
```
151
+
```
149
152
- Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional `pivotConfiguration` option:
150
153
151
154
```html
@@ -161,7 +164,7 @@ All notable changes for each version of this project will be documented in this
161
164
```
162
165
163
166
One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
164
-
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.
167
+
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.
165
168
Hence we have also exposed 2 new events:
166
169
- `dimensionInit` - emits when a dimension from the configuration is being initialized.
167
170
- `valueInit` - emits when a value from the configuration is being initialized.
@@ -221,7 +224,7 @@ All notable changes for each version of this project will be documented in this
221
224
<column width='auto' ...>
222
225
```
223
226
- Added support for restoring filtering expressions with custom filtering operands for the `IgxGridStateDirective`.
224
-
227
+
225
228
226
229
- 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`.
227
230
@@ -236,7 +239,7 @@ All notable changes for each version of this project will be documented in this
236
239
237
240
## 14.0.0
238
241
239
-
- Added additional theme properties for the `IgxCalendar` so that it's easier to style the `:hover` and `:focus` states inside the selected date or range of dates.
242
+
- Added additional theme properties for the `IgxCalendar` so that it's easier to style the `:hover` and `:focus` states inside the selected date or range of dates.
240
243
- `IgxDatePicker` and `IgxDateRangePicker` now expose a `weekStart` input property like the `IgxCalendar`
241
244
- `IgxCombo` and `IgxSimpleComboComponent`
242
245
- The combobox `role`, `aria-haspopup`, `aria-expanded`, `aria-controls` and `aria-labelledby` attributes have been moved from combo wrapper to the combo input. Additionally the `IgxSimpleComboComponent` input is marked with `aria-readonly="false"` and `aria-autocomplete="list"` attributes. The `aria-labelled` attribute is applied to the combo dropdown as well and can be set by the `ariaLabelledBy` property, the combo label or placeholder. The serach input within the combo dropdown is now marked as `role="searchbox"`, `aria-label="search"` and `aria-autocomplete="list"`. The dropdown item container has `aria-activedescendant` attribute to identify the currently active element of the item list. The `IgxCombo` container is also marked as `aria-multiselectable="true"`. The dropdown header items role has been changed to `group`.
0 commit comments