Commit f8bf9a9
Deprecate rowID and primaryKey in grid interfaces (#13427)
* refactor(Grid): deprecate rowID and rowData props from the grid eventArgs #10617
* chore(*): address review comment for editDoneArgs
* chore(*): update the tests according new API changes
* chore(*): fix tests accordinly newly addressed API changes
* chore(*): fix rowEditDone event args
* fix(*): do not clear summaries when row edit is not complete #10617
* chore(*): fix linting errors
* chore(grid): separate grid and cell event interfaces, events reorganization
* chore(*): add proper description for interfaces
* chore(*): fix the description of the deprecated properties
* feat(*): expose new event arguments for grid rowAdd and rowDelete #10617
* chore(*): add key and deprecate primaryKey event args
* chore(*): address the issues in the test due to changes in the event arguments
* chore(*): fix some linting errors
* chore(*): fix failing test
* chore(*): fix failing tests
* chore(*): change the version for the deprecation of rowId and rowData props
* chore(*): describe in the changelog the deprecated props rowID and rowData
* chore(*): remove some leftover comment
* chore(*): apply some of the review comments
* Update CHANGELOG.md
Co-authored-by: Konstantin Dinev <[email protected]>
* chore(*): address some more comments
* feat(*): reintroduce primaryKey prop and introduce rowKey instead key #10617
* test(Grid): fix the test with reintroduced props primaryKey and rowKey #10617
* feat(*): remove the deprecation of rowData prop and remove data prop #10617
* chore(*): drop the new interfaces entirely
* test(Grid): address the latest changes in the gridEdit events #10617
* chore(*): remove cellID and and column from IRowDataCancelableEventArgs
* chore(*): deprecate data and introduce rowData in IBaseRowDataEventArgs
* chore(*): deprecate key, introduce rowKey
* chore(*): remove unnecessary added key prop in IRowDataEventArgs
* chore(*): unify rowKey prop for the rest of the interfaces
* chore(*): update the changelog
* chore(*): remove unused interface
* chore(*): update changelog for pivot
* chore(*): update changelog for pivot
* Apply suggestions
minor formatting and redundant comments
* chore(*): add wrongfully removed comments
* chore(*): should not use deprecated props internally
* chore(*): fix indentation
* feat(*): IRowDataCancelableEventArgs to extend IGridEditEventArgs #10617
* chore(*): update the deprecation version and the changelog description
* chore(*): changelog enhcaements
* chore(*): fix typo in interace name
* Update projects/igniteui-angular/src/lib/grids/summaries/grid-summary.service.ts
* Update projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid.component.ts
* Update projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-crud.spec.ts
* Update projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-crud.spec.ts
* Update projects/igniteui-angular/src/lib/action-strip/grid-actions/grid-editing-actions.component.spec.ts
* chore(*): fix incorrect work usage
* chore(grid): cleanup redundant comments
* chore(grid): row data cancelable spelling; consistent w/ base interface
* docs(grid): update events changelog
* docs(changelog): grid event arg deprecations separate section
---------
Co-authored-by: Hristo Anastasov <[email protected]>
Co-authored-by: Stamen Stoychev <[email protected]>
Co-authored-by: Konstantin Dinev <[email protected]>
Co-authored-by: Damyan Petev <[email protected]>1 parent c0b34e0 commit f8bf9a9
File tree
26 files changed
+395
-201
lines changed- projects/igniteui-angular/src/lib
- action-strip/grid-actions
- grids
- common
- grid
- hierarchical-grid
- pivot-grid
- summaries
- tree-grid
- services/exporter-common
- src/app
- action-strip
- grid-add-row
- grid
26 files changed
+395
-201
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
36 | | - | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
43 | | - | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
| |||
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
52 | | - | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
67 | 77 | | |
68 | | - | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
107 | 116 | | |
108 | 117 | | |
109 | 118 | | |
110 | | - | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
150 | 159 | | |
151 | 160 | | |
152 | 161 | | |
153 | | - | |
| 162 | + | |
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
| |||
projects/igniteui-angular/src/lib/action-strip/grid-actions/grid-editing-actions.component.spec.ts
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
358 | | - | |
| 360 | + | |
359 | 361 | | |
360 | 362 | | |
| 363 | + | |
361 | 364 | | |
362 | 365 | | |
| 366 | + | |
363 | 367 | | |
364 | | - | |
| 368 | + | |
365 | 369 | | |
366 | 370 | | |
367 | 371 | | |
368 | 372 | | |
| 373 | + | |
369 | 374 | | |
| 375 | + | |
370 | 376 | | |
371 | 377 | | |
372 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
190 | | - | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
341 | | - | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
363 | | - | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
| 428 | + | |
427 | 429 | | |
428 | 430 | | |
429 | 431 | | |
| |||
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
| 590 | + | |
588 | 591 | | |
589 | 592 | | |
590 | 593 | | |
| |||
0 commit comments