diff --git a/components/lib/datatable/BodyCell.js b/components/lib/datatable/BodyCell.js index 2efd06fb23..64936ee460 100644 --- a/components/lib/datatable/BodyCell.js +++ b/components/lib/datatable/BodyCell.js @@ -475,7 +475,7 @@ export const BodyCell = React.memo((props) => { }, [props.editingMeta]); React.useEffect(() => { - if (props.editMode === 'cell' || props.editMode === 'row') { + if (props.editMode === 'row') { const callbackParams = getCellCallbackParams(); const params = { ...callbackParams, editing: editingState, editingKey };