Check documentation for the latest version of dhtmlxSuite gridToClipboard DHTMLX Docs

gridToClipboard

copies grid in CSV to the clipboard

void gridToClipboard();

Available only in PRO Edition

Example

<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>

Back to top