You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using the default double-click to enable cell editing but would like to disable the subsequent single-click to edit other cells when in edit mode.
Is this something that can be made configurable?
Needs to modify this:
/**
* Event handler added when editing is active called when user clicks a cell in the grid during editing.
* It finishes editing and moves editor to the selected cell instead.
* @private
* @category Internal event handling
*/
onCellClickWhileEditing({ event, cellSelector }) {
const me = this;
// Ignore clicks in the editor.
if (me.editorContext && !me.editorContext.editor.owns(event.target)) {
if (me.getEditingContext(cellSelector)) {
// Attempt to finish the current edit.
// Will return false if the field is invalid.
if (me.finishEditing()) {
me.startEditing(cellSelector);
}
// Previous edit was invalid, return to it.
else {
me.grid.focusCell(me.editorContext.selector);
me.editor.inputField.focus();
}
}
else {
me.finishEditing();
}
}
}
The text was updated successfully, but these errors were encountered:
Forum post
Needs to modify this:
The text was updated successfully, but these errors were encountered: