-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[DataGrid] Implement Cell editing #296
Comments
I'm looking for this too. Any solution? |
@alitaheri @hai-cea @mbrookes @newoga @oliviertassinari |
@markwain The The editable cells is definitely a great feature to have 👍 |
@oliviertassinari Sorry for long reply ... I will definitely look at it. |
I was just looking for a component that can represent an editable data grid. It would be super-nice to have this ability. |
Also interested in this. Will this make the 1.0 cut? |
@KarmicJohn It's unlikely unless an external contributor is working on it. |
Any update on this feature? I dont see anything in v1 beta 30, and am looking for this exact feature. |
I too need such a feature, any news bout this? |
First of all, just want to point out that there are two kinds of editable table cells: one with an inline text field and another with an inline menu. (Source: https://material.io/design/components/data-tables.html#behavior). Anyways, I am planning on making a PR for this because I need to make this element for a project. I am thinking that the syntax for the inline text field should look sometime like this: <TableCell editable={true|false} dialogSize={'large'|'small'} editIcon={<SomeIcon />} /> and for the inline menu, it should look something like this: <TableCell menu={<Menu><MenuItem /> ....</Menu>}></TableCell> I am also trying to decide on whether or not to add |
@srilman Does it need to be moved to the core? With the recent addition of the |
@oliviertassinari I don't think this component needs to be in core. Putting it in the lab should be fine. I'm not sure how the |
What ever came of this? I still don't see any docs in order to use small or large edit dialogs. |
Looks like the specs have changed and currently only list an inline menu: https://material.io/design/components/data-tables.html#behavior Although it's not perfect here's an example: https://codesandbox.io/s/material-demo-dlmkz |
material-tables has an editable example: https://material-table.com/#/docs/features/editable. |
I made rough demo like materia;-ui tables section with an editable table example like this; Code + Demo: https://codesandbox.io/s/material-ui-editable-tables-wsp0c (I'll improve the demo, if you think it's okay 😄 ) @oliviertassinari 😅 😅 |
@adeelibr Thanks for sharing the code sandbox on the issue, It will likely help others. |
Can I work on the new component for Data table? Also will it be build on top of Table components with extended functionality? |
Moving to #203 |
As far as I understood material-ui follows Material Design spec
But as for me it lacks in following the specification in some components, especially in
Table
component.https://material.google.com/components/data-tables.html#data-tables-interaction (Edit section). The specification clearly says about the edit possibility with the help of small or large edit dialogs. But using material-ui
Table
component it's impossible to organize something like this because cell clicks always trigger row selection.So my proposition here is to divide concepts following Google's Material Design and make:
ctrl
button)So what do you guys think about this?
The text was updated successfully, but these errors were encountered: