Check documentation for the latest version of dhtmlxSuite pasteBlockFromClipboard DHTMLX Docs

pasteBlockFromClipboard

pastes the content of the clipboard into a block selection of the grid

void pasteBlockFromClipboard();

Example

myGrid.attachEvent("onKeyPress",onKeyPressed); ... function onKeyPressed(code,ctrl,shift){ if(code==67&&ctrl){ myGrid.setCSVDelimiter("\t"); myGrid.copyBlockToClipboard(); } if(code==86&&ctrl){ myGrid.pasteBlockFromClipboard(); } return true; }

Back to top