Skip to content

Commit 69aaf85

Browse files
authored
[docs] Update the callout in rows prop documentation (#20127)
1 parent 3b267d8 commit 69aaf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/data-grid/row-updates/row-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It replaces the previous values. This approach has some drawbacks:
1313
{{"demo": "UpdateRowsProp.js", "bg": "inline"}}
1414

1515
:::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.
1717
Unless the recomputation is explicitly required, the API method `updateRows()` should be used.
1818
:::
1919

0 commit comments

Comments
 (0)