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: docs/data/data-grid/row-updates/row-updates.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ It replaces the previous values. This approach has some drawbacks:
13
13
{{"demo": "UpdateRowsProp.js", "bg": "inline"}}
14
14
15
15
:::warning
16
-
Updating the `rows` prop causes the Data Grid to recompute the row tree, resulting in losing the current tree information like the expanded rows state.
16
+
Updating the `rows` prop causes the Data Grid to recompute the row tree, which may result in losing some tree information, however the expansion state of the groups is preserved for the rows with same IDs across rerenders.
17
17
Unless the recomputation is explicitly required, the API method `updateRows()` should be used.
0 commit comments