New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I customize filter options in MUI data grid filter #2007
Comments
I solved it by using So you would do:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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) => (
<CustomCheckbox
rowId={params.id}
columnId={params.field}
checked={params.value}
onCheckboxClick={() =>
handleCheckboxClick(params.row.project_id, params.value)
}
/>
),
},
]
The text was updated successfully, but these errors were encountered: