Skip to content
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

[docs] DataGrid - Disable submit button is DataGrid is in edit mode / ReactJS #14827

Open
alejandrolm96 opened this issue Oct 4, 2024 · 0 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page

Comments

@alejandrolm96
Copy link

alejandrolm96 commented Oct 4, 2024

Related page

https://mui.com/material-ui/

Kind of issue

Unclear explanations

Issue description

Disabling a Button During DataGrid "Edit" Mode

Context

Hi, not sure if I'm posting this in the right section.

I’m working with a DataGrid component in ReactJS and have a "Submit" button below the table for submitting data. I would like to disable this button whenever the DataGrid is in "Edit" mode. Specifically:

  • When a user clicks on a row to edit it, the "Submit" button should be disabled.
  • Once the user exits the "Edit" mode (clicking away the table), the "Submit" button should be re-enabled.
  • The "Submit" button is not part of the DataGrid.

Example:

image001

I have read the documentation but I could not find any possible solution for this.

Search keywords: datagrid

Search keywords:

@alejandrolm96 alejandrolm96 added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Oct 4, 2024
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Oct 4, 2024
@zannager zannager transferred this issue from mui/material-ui Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page
Projects
None yet
Development

No branches or pull requests

2 participants