[data grid] Simplify --width property indirection with width #14779
Labels
component: data grid
This is the name of the generic UI component, not the React module!
core
Infrastructure work going on behind the scenes
feature: Rendering layout
Related to the data grid Rendering engine
priority: low
To delay as much as possible
I'm opening this issue as a potential low priority opportunity to improve the row width management.
We use a
--width
CSS variables indirection to set the width of the rows https://github.com/search?q=repo%3Amui%2Fmui-x+--width+path%3A%2F%5Epackages%5C%2Fx-data-grid%2F&type=code but there doesn't seem to be a good reason to do such.Instead, it seems that modifying the
width
style properly directly would be:This was discovered in #14776. Now, this doesn't seem to be a major concern, more of a low-hanging fruit. I doubt it will make column resizing much more performant, nor that there is a major performance win to gain so a low priority.
Search keywords:
The text was updated successfully, but these errors were encountered: