Categories | Question details Back To List | ||
How to copy to Clipboard in FF I'm using FF 2.0.0.9 and unable to Copy data to Clipboard from Grid. Any solution ? dhtmlxGrid v.1.4 Answer posted by Stanislav on Nov 26, 2007 02:29 The grid provides ability to operate with clipboard in FF as well, but it may be blocked by FF settings Please check http://www.febooti.com/support/website-help/website-javascript-copy-clipboard.html Answer posted by krzak on Nov 27, 2007 01:57 Stanislav, thanks. I did what is desribed at this site but I still get error: Error: netscape.agU has no properties Source file: http://dhtmlx.com/docs/products/dhtmlxGrid/codebase/ext/dhtmlxgrid_nxml.js Row: 12 Answer posted by Support on Nov 27, 2007 03:35 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 Answer posted by Tejas Shah on Oct 23, 2008 07:02 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 ? Answer posted by Support on Oct 23, 2008 07:56 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 |