[data grid] __row_group_by_columns_group__
should be an exported value
#14470
Labels
component: data grid
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
feature: Row grouping
Related to the data grid Row grouping feature
plan: Premium
Impact at least one Premium user
recipe
Steps to reproduce
Link to live example: Not applicable
This is a development experience bug, not a user-facing one.
Current behavior
When using
@mui/x-data-grid-premium
, MUI creates a new column on a data grid when the defines a custom grouping.That new column is filterable, and the filter's field is defined as
__row_group_by_columns_group__
. This string is not exported, and that makes it for a brittle developer experience. Updating MUI might silently break things.Expected behavior
I want to be able to import a value special-cased by MUI for the column created by a user's grouping, so that I can handle it accordingly in my consuming application.
I want the application to exit fast and be explicit in case a MUI version bump makes my assumptions incorrect.
Context
No response
Your environment
Not applicable
Search keywords: row_group_by_columns_group group by filters
Search keywords:
The text was updated successfully, but these errors were encountered: