MartinWittemann wrote
>
>
> That should work if you don't call stop / preventDefault on the event. Did
> you give it a try?
>
I dont expressly call it
Here is my code snippet
this.__copyCommand = new qx.ui.core.Command("Control+C");
this.__copyCommand.addListener("execute",function(e){this.copyRow();},
this);
this.__pasteCommand = new qx.ui.core.Command("Control+V");
this.__pasteCommand.addListener("execute",
function(e){this.paste()}, this);
copyRow : function(e){
//Get Active widget
var target =
qx.ui.core.FocusHandler.getInstance().getActiveWidget();
if (target instanceof qx.ui.table.Table){
//Copy row code
}
return;
}
That is the gist of the code. Should I have something in the handler that
explicitly sets preventDefault to false?
Thanks again
Jacob
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Control-C-V-for-Tables-tp7559392p7560095.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel