mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
4.53k stars 1.32k forks source link

[docs] Filtering is broken in the combine built-in comparators demo #9879

Open cheesestringer opened 1 year ago

cheesestringer commented 1 year ago

Duplicates

Related page

https://mui.com/x/react-data-grid/sorting/#combine-built-in-comparators

Kind of issue

Broken demonstration

Issue description

I was looking at the Combine built-in comparators demo since it uses an object for its valueGetter. This issue with this is if you try and filter the name column nothing works. It's unclear how filtering should work when using objects in the valueGetter.

Context 🔦

When using an object in the valueGetter I'd like to know how filtering should work.

DanailH commented 1 year ago

@cheesestringer thanks for catching this!

gitstart commented 1 year ago

@DanailH we would like to pick this up

cherniavskii commented 10 months ago

This looks like another use case for the filterValueGetter: https://github.com/mui/mui-x/issues/8929