handsontable/src/plugins/copyPaste/copyPaste.js, line 29
This plugin enables the copy/paste functionality in the Handsontable.
Example
...
copyPaste: true,
...
Methods
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 266
copy()
-
Copy action.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 277
cut()
-
Cut action.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 515
destroy()
-
Destroy plugin instance.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 140
disablePlugin()
-
Disable plugin for this Handsontable instance.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 100
enablePlugin()
-
Enable the plugin.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 192
getRangedCopyableData(ranges){String}
-
Create copyable text releated to range objects.
Parameters:
Name Type Description ranges
Array Array of Objects with properties
startRow
,endRow
,startCol
andendCol
.- Since:
- 0.19.0
Returns: {String} Returns string which will be copied into clipboard.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 231
getRangedData(ranges){Array}
-
Create copyable text releated to range objects.
Parameters:
Name Type Description ranges
Array Array of Objects with properties
startRow
,startCol
,endRow
andendCol
.- Since:
- 0.31.1
Returns: {Array} Returns array of arrays which will be copied into clipboard.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 93
isEnabled(){Boolean}
-
Check if plugin is enabled.
Returns: {Boolean}
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 290
paste(value)
-
Simulated paste action.
Parameters:
Name Type Default Description value
String '' optional New value, which should be
pasted
. -
handsontable/src/plugins/copyPaste/copyPaste.js, line 148
setCopyable()
-
Prepares copyable text from the cells selection in the invisible textarea.
-
handsontable/src/plugins/copyPaste/copyPaste.js, line 130
updatePlugin()
-
Updates the plugin to use the latest options you have specified.