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 });
},
....
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 ?