[data grid] How to override grid density factors to change what Compact/Standard/Comfortable means? #7251
Closed
2 tasks done
Labels
component: data grid
This is the name of the generic UI component, not the React module!
support: commercial
Support request from paid users
Order ID 💳
48149
Duplicates
Latest version
The problem in depth 🔍
Hi,
We need to use our custom row height values depending on the density selected and currently achieve this like so:
I've noticed that the row height is set via inline style rather than CSS classes. I guess this is to support variable row height as well, not just 3 predefined row height settings.
If overriding what each density level means via CSS is not an option, is it possible to override the density factor constants?
Or is the way we currently handle this already optimal?
Thanks.
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: