We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, Like onValue is passed on the custom editor, I would like to know if I can pass a method such as onDeactivate to disable editing on a cell ?
const editable = edit.edit({ ... onDeactivate:({ value, rowData, property }) => { const index = findIndex(this.state.rows, { id: rowData.id }); const rows = cloneDeep(this.state.rows); rows[index].editing = false; this.setState({ rows }); }, ....
The text was updated successfully, but these errors were encountered:
To do this, it's likely you'll have to modify the edit wrapper at https://github.com/reactabular/react-edit . PR welcome. 👍
edit
Sorry, something went wrong.
No branches or pull requests
Hello,
Like onValue is passed on the custom editor, I would like to know if I can pass a method such as onDeactivate to disable editing on a cell ?
The text was updated successfully, but these errors were encountered: