|
|
|
@ -497,7 +497,7 @@ const {
|
|
|
|
|
activeCell, |
|
|
|
|
handleMouseDown, |
|
|
|
|
handleMouseOver, |
|
|
|
|
handleCellClick, |
|
|
|
|
handleCellClick: _handleCellClick, |
|
|
|
|
clearSelectedRange, |
|
|
|
|
copyValue, |
|
|
|
|
isCellActive, |
|
|
|
@ -1135,6 +1135,16 @@ const expandAndLooseFocus = (row: Row, col: Record<string, any>) => {
|
|
|
|
|
activeCell.col = null |
|
|
|
|
selectedRange.clear() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const handleCellClick = (event: MouseEvent, row: number, col: number) => { |
|
|
|
|
const rowData = dataRef.value[row] |
|
|
|
|
|
|
|
|
|
if (isMobileMode.value) { |
|
|
|
|
return expandAndLooseFocus(rowData, fields.value[col]) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_handleCellClick(event, row, col) |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|