-
-
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
[data grid] Add "No columns" overlay #16543
Conversation
Localization writing tips ✍️Seems you are updating localization 🌍 files. Thank you for contributing to the localization! 🎉 To make your PR perfect, here is a list of elements to check: ✔️
Deploy preview: https://deploy-preview-16543--material-ui-x.netlify.app/ Updated pages: |
@@ -466,6 +467,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => { | |||
role="row" | |||
aria-rowindex={depth + 1} | |||
ownerState={rootProps} | |||
style={{ height: groupHeaderHeight }} |
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.
Not sure whether this could be classified as a breaking change or not. The height of the headers are applied to the header rows rather than header cells so that it does not collapse when there are no cells in it.
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.
I would say no, since it is a direct style and not class move
otherwise we would not be able to change anything
@@ -466,6 +467,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => { | |||
role="row" | |||
aria-rowindex={depth + 1} | |||
ownerState={rootProps} | |||
style={{ height: groupHeaderHeight }} |
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.
I would say no, since it is a direct style and not class move
otherwise we would not be able to change anything
packages/x-data-grid/src/components/containers/GridRootStyles.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com> Signed-off-by: Kenan Yusuf <kenan.m.yusuf@gmail.com>
Closes #14396 and #14395
https://deploy-preview-16543--material-ui-x.netlify.app/x/react-data-grid/overlays/#no-columns-overlay
No columns
No visible columns
Changelog
Breaking changes
main--hasSkeletonLoadingOverlay
class has been renamed tomain--hiddenContent
and is now also applied when the "No columns" overlay is displayed.