I’m using FF 2.0.0.9 and unable to Copy data to Clipboard from Grid. Any solution ? dhtmlxGrid v.1.4
The grid provides ability to operate with clipboard in FF as well, but it may be blocked by FF settings
Please check
febooti.com/support/website- … board.html
Stanislav, thanks. I did what is desribed at this site but I still get error:
Error: netscape.agU has no properties
Source file: dhtmlx.com/docs/products/dhtmlxG … id_nxml.js
Row: 12
Problem confirmed, it caused by obfuscated code in online samples, actual code works fine, sample will be updated with correct one later today.
For now, you can download standard grid package and check it locally, code from it fully workable
dhtmlxGrid\samples\clipboard\grid_selection.html
Hi there,
I want to enable the copy-to-clipboard functionality in FF thru JS code as I am providing “copy content” in context Menu of Grid, then it should copy of first column’s value of that selected row to clipboard.
The link mentioned above says how to enable this feature MANUALLY but how to do this thru JS code in our context menu option operation ??
How to do this ?
You can call
grid.toClipBoard
to place some data into clipboard
And you can get data of cell as
grid.cells(id,ind).getValue()
So you need to use event of context menu, receive related cell value and place it into clipboard by above mentioned API