[data grid] aggregationModel
does not show noRowsLabel
if no rows are provided
#16453
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Aggregation
Related to the data grid Aggregation feature
regression
A bug, but worse
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
Current behavior
cf. "Steps to reproduce"
Expected behavior
The DataGrid with aggregationModel should also show "No rows".
Context
The error can be bypassed by checking if rows exist and only then set the
aggregationModel
to a filled object. Otherwise it must be an empty object (but notundefined
!)Check line 28 in the example: an alternative to the
aggregationModel
prop.Your environment
npx @mui/envinfo
Search keywords: DataGrid aggregation noRowsLabel
Order ID: 95669
The text was updated successfully, but these errors were encountered: