|
|
@ -201,7 +201,7 @@ const { isCellSelected, activeCell, handleMouseDown, handleMouseOver, handleCell |
|
|
|
const cmdOrCtrl = isMac() ? e.metaKey : e.ctrlKey |
|
|
|
const cmdOrCtrl = isMac() ? e.metaKey : e.ctrlKey |
|
|
|
const altOrOptionKey = e.altKey |
|
|
|
const altOrOptionKey = e.altKey |
|
|
|
if (e.key === ' ') { |
|
|
|
if (e.key === ' ') { |
|
|
|
if (activeCell.row != null && !editEnabled) { |
|
|
|
if (activeCell.row != null && !editEnabled && hasEditPermission?.value) { |
|
|
|
e.preventDefault() |
|
|
|
e.preventDefault() |
|
|
|
clearSelectedRange() |
|
|
|
clearSelectedRange() |
|
|
|
const row = data.value[activeCell.row] |
|
|
|
const row = data.value[activeCell.row] |
|
|
|