mui-x
mui-x copied to clipboard
[data grid] Controlled State of Quick Filter
Summary
It would be nice to switch to a controlled quick filter so the filter can be controlled programaticly and be shared across multiple datagids. E.g. the Colum Filter can be controlled by adding a filterModel and onFilterModelChange to the DataGrid
Examples
No response
Motivation
I have two Datagrids and want to filter both with a shared QucikFilter, preferably outside of the grid I found the exaple of quick filters outside the grid https://mui.com/x/react-data-grid/filtering-recipes/#quick-filter-outside-of-the-grid but it uses a Portal to achieve the behaviour. This is not working for multipe DataGrids using the same Filter. Additionaly a controlled Filter could be changed e.g. resetted programmaticly
Search keywords: QuickFilter