pastes the content of the clipboard into a block selection of the grid
myTreeGrid.attachEvent("onKeyPress",onKeyPressed);
...
function onKeyPressed(code,ctrl,shift){
if(code==67&&ctrl){
myTreeGrid.setCSVDelimiter("\t");
myTreeGrid.copyBlockToClipboard();
}
if(code==86&&ctrl){
myTreeGrid.pasteBlockFromClipboard();
}
return true;
}
Back to top