-
-
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 headerHeight prop #602
Comments
AutoSizer has been moved down in the DOM tree and it doesn't contain the columns header anymore:
I don't see any reason to remove the We can address the confusion raised in #597 (comment) by removing the mui-x/packages/grid/x-data-grid/src/models/gridSlotsComponent.ts Lines 79 to 84 in 4891eaf
I've created a separate issue for it #6977. |
Feel free to point out any other issues related to the |
I don't remember the old position of the To summarize, the idea is to fix the |
@m4theushw Thanks for looking into it!
I tried to do this in #7001
I think doing that would require a lot of time, while the gain would be minimal. Furthermore, I find the What do you think? |
I think that in the beginning there was only |
The grid has a
headerHeight
that we should be able to remove by moving the AutoSizer down in the DOM tree, to only where we need it: for the rendering zone. It would solve this confusion: #597 (comment) and this bug: #597 (review). It's also the approach used by AG Grid.The text was updated successfully, but these errors were encountered: