Commit 50ad01d
DataGrid: ensure re-sorting if data changes
This is a fix for the following scenario:
1. You sort a data grid by a column
2. The value of a cell in the sorted column changes
3. The data grid does not update to re-sort the columns with the new
change
The fix here forces the data grid to update its columns if we detect a
mutation and we have an active sort (ensuring we don't update the
columns on every mutation in the non-sorted scenario).
[email protected]
Bug: 449655015
Change-Id: Ib3a8495f35f849bd97e7600699fa611da932929b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7095683
Auto-Submit: Jack Franklin <[email protected]>
Commit-Queue: Jack Franklin <[email protected]>
Reviewed-by: Danil Somsikov <[email protected]>1 parent f2ceb57 commit 50ad01d
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
375 | 384 | | |
376 | 385 | | |
377 | 386 | | |
| |||
0 commit comments