-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Add expansion state behavioral change to v6 migration guide #8108
Conversation
Netlify deploy previewNetlify deploy preview: https://deploy-preview-8108--material-ui-x.netlify.app/ Updated pagesThese are the results for the performance tests:
|
@@ -281,6 +281,8 @@ Most of this breaking change is handled by `preset-safe` codemod but some furthe | |||
+ const tabIndex = props.tabbableCell === column.field ? 0 : 1; | |||
} | |||
``` | |||
- Updating the [`rows` prop](/x/react-data-grid/row-updates/#the-rows-prop) or calling `apiRef.current.setRows` will now remove the expansion state of the grid as these methods are meant to replace the rows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor thing.
- Updating the [`rows` prop](/x/react-data-grid/row-updates/#the-rows-prop) or calling `apiRef.current.setRows` will now remove the expansion state of the grid as these methods are meant to replace the rows. | |
- Updating [`rows` prop](/x/react-data-grid/row-updates/#the-rows-prop) or calling `apiRef.current.setRows` will now remove the expansion state of the grid as these methods are meant to replace the rows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, just noticed I missed applying this before merging the PR 🤦♂️
Closes #7771