Class: ContextMenuCopyPaste

ContextMenuCopyPaste

handsontable/src/plugins/contextMenuCopyPaste/contextMenuCopyPaste.js, line 17

This plugin adds a copy/paste functionality to the context menu. Due to browser restrictions, it uses ZeroClipboard to allow
copying data with a click.

Parameters:
Name Type Description
hotInstance Object

Members

eventManagerEventManager

Instance of EventManager.

outsideClickDeselectsCacheBoolean

outsideClickDeselectsCache setting cache.

swfPathString

Path to swf file which is necessary for ZeroClipboard.

Methods

handsontable/src/plugins/contextMenuCopyPaste/contextMenuCopyPaste.js, line 87

disablePlugin()

Disable plugin for this Handsontable instance.

handsontable/src/plugins/contextMenuCopyPaste/contextMenuCopyPaste.js, line 55

enablePlugin()

Enable plugin for this Handsontable instance.

handsontable/src/plugins/contextMenuCopyPaste/contextMenuCopyPaste.js, line 104

getCopyValue(){String}

Get a value to copy.

Returns: {String}
handsontable/src/plugins/contextMenuCopyPaste/contextMenuCopyPaste.js, line 48

isEnabled(){Boolean}

Check if the plugin is enabled in the handsontable settings.

Returns: {Boolean}