[data grid] GridToolbar filters contain duplicate column values when row grouping is enabled #12330
Labels
component: data grid
This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/bold-dawn-3lg5q4
Steps:
Current behavior
Grouped columns appear twice within the filter panel Columns dropdown, even when setting grouped columns to hidden.
Expected behavior
I'd expect useKeepGroupedColumnsHidden to apply to the Columns filter dropdown so that we can avoid listing duplicate column values. Or, at the very least, I'd expect that there be some way of differentiating between the duplicate columns filter values (one of them refers to the original column and the other refers to the grouping, but they are being displayed with the same label).
Context
I'm trying to avoid confusion from any users that would like to apply filtering and are finding that the grouped columns appear twice within the Columns filter dropdown within the filter panel.
Your environment
No response
Search keywords: GridToolbar, filters, duplicate columns
The text was updated successfully, but these errors were encountered: