Required library edition:
Required library file: dhtmlxgrid_nxml.js
copy grid in CSV to clipboard
<a href="javascript:void(0)" onclick="copyData()">Copy entire grid (with tab as delimiter) to clipboard</a> <script> function copyData(type,delim){ mygrid.setCSVDelimiter('\t'); mygrid.gridToClipboard(); } </script>
See also: cellToClipboard, copyBlockToClipboard, rowToClipboard, enableBlockSelection