[data grid] align: 'right' is not applied when using valueGetter #13268
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: css
Design CSS customizability
status: waiting for author
Issue with insufficient information
Steps to reproduce
Hi, I've got a problem while trying to apply a align: 'right' to my cell
when I use only ValueGetter, nothing changes
but when I use renderCell just to render the value it works:
so, the question is: is it a bug, or expected behavior?
if yes, why it is so? why style is not applied?
my guess is that it is possible because I use a special component to render string cells, and because I use rendercell in it it overrides the valueGetter
Current behavior
Hi, I am trying to apply a align: 'right' to my cell when I use only ValueGetter, nothing changes. But when I use renderCell just to render the value it works. so, the question is: is it a bug, or expected behavior? it yes, why it is so? why style is not applied?
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: valueGetter, align, renderCell,
Search keywords:
The text was updated successfully, but these errors were encountered: