gregnb / gregnb/mui-datatables

How can I customize filter options in MUI data grid filter

Open
#2,007 2 comments 0 reactions 0 assignees View on GitHub
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)
}
/>

),
},
]

Screenshot 2023-06-22 at 09 34 05

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.