Commit 47069f4
fix (expandable) expand all opens disableRowExpandable rows (#6442)
* fix (expandable) expand all opens disableRowExpandable rows
Resolved issue where clicking the "expand all" button opens sub grids that have disableRowExpandable set to true.
This leads to seeing ugly empty sub grid white space. The fix simply includes a check for each row to see if expansion is disabled or not.
* fix (expandable) update to tests to handle expansion only in enabled rows
Tests expected all rows to be expanded when "toggle all" and "expand all" function are called. This is not correct if a row's expansion has been turned off.1 parent 7dbf395 commit 47069f4
File tree
2 files changed
+3
-3
lines changed- src/features/expandable
- js
- test
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments