Hi,
I have HoT library in a production application that uses Angular 1.x. I cannot upgrade to 2.0 + and know that HoT does not support Angular 1 anymore.
The problem is when I do Handsontable.plugin to check all the available list of plugins I cannot see CopyPaste plugin by default.
List of plugins available for my project mentioned below.
- AutoColumnSize
- AutoRowSize
- Autofill
- BasePlugin
- BindRowsWithHeaders
- CollapsibleColumns
- ColumnSorting
- ColumnSummary
- Comments
- ContextMenu
- ContextMenuCopyPaste
- DragToScroll
- DropdownMenu
- ExportFile
- Filters
- Formulas
- GanttChart
- HeaderTooltips
- HiddenColumns
- HiddenRows
- ManualColumnFreeze
- ManualColumnMove
- ManualColumnResize
- ManualRowMove
- ManualRowResize
- MultipleSelectionHandles
- NestedHeaders
- NestedRows
- ObserveChanges
- TouchScroll
- TrimRows
- registerPlugin
- utils
I think it is default plugin provided by HoT. However, I have ContextMenuCopyPaste instead of copyPaste which give me this error when I enable it .“handsontable.full.min.js:32 To be able to use the Copy/Paste feature from the context menu, your browser needs to have Flash Plugin installed.”
My basic config:
contextMenu: [
‘copy’ // copy&cut doesnot even trigger beforeCopy,afterCopy, afterCut callbacks
‘cut’
{
key: ‘paste’
name: ‘Paste’
disabled: ->
false
callback: ->
plugin = this.getPlugin(‘copyPaste’) //plugin is always undefined
this.listen((e) ->
console.log(‘testing’);
)
plugin.paste()
}
]
Want to know is there a way to get them working in any other way. I cannot produce a fiddle because the cdns and fiddle do have that plugin when I run the service outside my project.
Please assist what the problem could be.
Much appreciated.
-Akash