我在我的 React 项目中使用 mui datagrid 组件,想要添加“>”和“<'. I couldn't figure out from the documentation. Is there a prop in DataGrid for this?
”过滤器附注我是 Material ui 新手,正在使用免费版本。
有一个属性可以传递给列定义,就像在声明列时一样,它与 field、renderCell 相同,称为 filterOperators。 以下链接将帮助您更多地挖掘这个问题 https://mui.com/x/react-data-grid/filtering/customization/#customize-the-operators