[data grid] V7 CSV export regression for undefined
and null
values
#14082
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Export
regression
A bug, but worse
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Latest version
Steps to reproduce
Link to live examples:
Steps:
undefined
and its "Trader Name" column saysnull
Current behavior
When a table row has a column whose value is
undefined
ornull
the corresponding cell of the CSV readsundefined
ornull
, respectively.Expected behavior
The corresponding cell value should be blank.
Context
In the v6 DataGrid, when a table row has a column whose value was
undefined
ornull
the corresponding row of the CSV would be blank. After migrating to v7 it seems that this behavior was lost, as the cells now contain the textundefined
andnull
, respectively.It's unclear if this was intentional or not, as there's no mention of this in the v6 to v7 migration guide. If it was intentional, I think this constitutes a breaking change and should be added to the guide.
Your environment
npx @mui/envinfo
Search keywords: DataGrid v7 CSV export undefined null
Order ID: 87847
The text was updated successfully, but these errors were encountered: