-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[data grid] Add native data grid time
column type
#5421
Comments
time
column typetime
column type
To add a new column type, you can have a look at this folder in which all the default types are defined https://github.com/mui/mui-x/tree/master/packages/grid/x-data-grid/src/colDef The first step could be to create a column definition based on |
@alexfauquette Thanks, I think I did all that in the PR I made for this issue, but the scope of this repo is so big, I'm kinda out of my depths here. |
Sorry, I did not see you already opened a PR 🙈 |
time
column typetime
column type
Hello, any update about the time column type? |
Thank you for your response, the feature that i looking for is a time filter at the DataDridPro columns like the date type filter. |
I'd love to see this implemented. I've spent much of the afternoon trying to cobble together an editable time-only column in a React MUI Data Grid with no luck. Being able to set "time" as the type for the column instead of just "datetime" would be amazing. |
Duplicates
Latest version
Summary 💡
We should be able to use
time
as a native column type.The filters can stay the same, the only difference would be to only use a time picker instead of the date time picker used for
dateTime
.I'd be happy to work on it if you would point me to where the modifications should be made.
Examples 🌈
No response
Motivation 🔦
date
anddateTime
are already available as native column types, it's been amazing to be able to use them in my projects.Since I use a display a lot of time variables in my projects, this would save a lot of custom code.
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: