Sample: dhtmlxGrid | Copy to clipboard | dhtmlxGrid main page |
mygrid.attachEvent("onKeyPress",onKeyPressed); ... function onKeyPressed(code,ctrl,shift){ if(code==67&&ctrl){ mygrid.copyBlockToClipboard() } if(code==86&&ctrl){ mygrid.pasteBlockFromClipboard() } return true; }
© DHTMLX LTD. All rights reserved |