-
-
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
[DataGrid] Remove disableExtendRowFullWidth
prop
#7373
[DataGrid] Remove disableExtendRowFullWidth
prop
#7373
Conversation
These are the results for the performance tests:
|
@@ -46,8 +43,8 @@ const useUtilityClasses = (ownerState: OwnerState) => { | |||
headerAlign === 'center' && 'columnHeader--alignCenter', | |||
headerAlign === 'right' && 'columnHeader--alignRight', | |||
isDragging && 'columnHeader--moving', | |||
showRightBorder && 'columnHeader--withRightBorder', | |||
showColumnBorder && 'columnHeader--showColumnBorder', |
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 didn't combine these two as they apparently serve different purposes and might be segregated again in future
Updated default behavior: Right border for the last column will now be shown based on |
@@ -126,7 +126,6 @@ export default function ColumnSpanningFunction() { | |||
> | |||
<DataGrid | |||
autoHeight | |||
disableExtendRowFullWidth |
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 don't know why this demo has not leveraged disableExtendRowFullWidth
to remove the double border in the last column:
Anyway, I think we could invest time later and remove the border of the last column if there's no empty space left. Even after adding flex: 1
in a column, this double border will be there.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Fixes #4308
Preview: https://deploy-preview-7373--material-ui-x.netlify.app/x/react-data-grid/column-spanning/#number-signature
Changelog
Breaking changes
disableExtendRowFullWidth
was removed.