gregnb / gregnb/mui-datatables
How can I customize filter options in MUI data grid filter
Open
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
I have a field to bookmark rows and the filter to that column is a boolean type. So the filter displays the value true or false but instead I want it to display Marked or Unmarked. How can I do that?
const columns: GridColDef[] = [
{
field: "watchlist",
headerName: "Wishlist",
width: 120,
type: "boolean",
renderCell: (params) => (
handleCheckboxClick(params.row.project_id, params.value)
}
/>
),
},
]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.