[data grid] support arbitrary filter expressions over entire record #8203
Labels
component: data grid
This is the name of the generic UI component, not the React module!
plan: Pro
Impact at least one Pro user
waiting for 👍
Waiting for upvotes
Duplicates
Latest version
Summary 💡
GridFilterItem
looks like this:But what if I want to filter records based on a property that's some complicated function of several fields on a record?
Ok, I can do that by defining a calculated hidden
evilness
column in advance:But this is a workaround, and requires me to mess with
columnVisibilityModel
, etc. It also requires me to know all these calculated properties in advance.It would be cool if I could skip the middleman here and just define something like
valueGetter
directly in theGridFilterItem
:Examples 🌈
No response
Motivation 🔦
I have an existing filtering ecosystem, outside of the grid, where I can define arbitrary filtering functions like this. If the DataGrid could handle filters like this it would be a cinch to interface my filtering widgets directly with the DataGrid filtering apparatus. As it stands, it's possible (using the pseudocolumn) but clunky.
Order ID 💳 (optional)
46840
The text was updated successfully, but these errors were encountered: