diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 304daa4b8ea5..1d93d9eeca5e 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -201,7 +201,7 @@ const { isCellSelected, activeCell, handleMouseDown, handleMouseOver, handleCell const cmdOrCtrl = isMac() ? e.metaKey : e.ctrlKey const altOrOptionKey = e.altKey if (e.key === ' ') { - if (activeCell.row != null && !editEnabled) { + if (activeCell.row != null && !editEnabled && hasEditPermission?.value) { e.preventDefault() clearSelectedRange() const row = data.value[activeCell.row]