Check documentation for the latest version of dhtmlxSuite rowToClipboard DHTMLX Docs

rowToClipboard

copies the value of a row to the clipboard

void rowToClipboard(string|number rowId);
rowIdstring|numberthe id of a row (optional, uses the selected row by default)

Available only in PRO Edition

Example

<a href="javascript:void(0)" onclick="copyData()">
    Copy selected row (with tab as delimiter) to clipboard
</a>
<script>
function copyData(type,delim){
   myGrid.setCSVDelimiter('\t');
   myGrid.rowToClipboard();
}
</script>

Back to top