|
|
@ -267,7 +267,8 @@ export function useMultiSelect( |
|
|
|
// copy - ctrl/cmd +c
|
|
|
|
// copy - ctrl/cmd +c
|
|
|
|
case 67: |
|
|
|
case 67: |
|
|
|
// set clipboard context only if single cell selected
|
|
|
|
// set clipboard context only if single cell selected
|
|
|
|
if (selectedRange.isSingleCell() && rowObj.row[columnObj.title!]) { |
|
|
|
// or if selected range is empty
|
|
|
|
|
|
|
|
if ((selectedRange.isSingleCell() || selectedRange.isEmpty()) && rowObj.row[columnObj.title!]) { |
|
|
|
clipboardContext = { |
|
|
|
clipboardContext = { |
|
|
|
value: rowObj.row[columnObj.title!], |
|
|
|
value: rowObj.row[columnObj.title!], |
|
|
|
uidt: columnObj.uidt as UITypes, |
|
|
|
uidt: columnObj.uidt as UITypes, |
|
|
|