Hi Daniel,

On Friday March 19 2010 09:43:00 Daniel Hirtzbruch wrote:
> I now this topic has been discussed often on this but a customer of mine
> would like to have copy&paste on one specifix Table-column enabled. I
> already noticed that the core.Widget's "selectable"-property does not have
> any effect on the table.
Yepp, since the table cells are no real widgets.

> That's my first approach:
> - make the column editable
> - when dblClicking the table cell to edit it's contents one is able to copy
> the selection into another application
> 
> Using this method, I only need to implement a method to reset the table's
> data if the customer accidentially modified the data instead of only
> copying it.
> 
> Maybe you'll agree that this approach is a little dirty - isn't there
> another way to realize this? The customer uses the app to search for
> material numbers and needs to copy those numbers for example into the ERP
> system.
> 
> Any ideas?
Why don't use a contextmenu. This way you can use the "cellContextmenu" event 
to get to know which row/column the client clicked and you can offer him a 
small contextmenu with a "copy" menu button inside.

Just take a look at the "Table_Events" demo to get a better understanding of 
my proposal.

        http://demo.qooxdoo.org/current/demobrowser/#table~Table_Events.html

cheers,
  Alex

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to