On 30.07.2009 20:34, Gene Amtower wrote:
If Qooxdoo blocks direct access to copy/paste functionality for this
type of table structure, it would be really great if it could
implement an interface to the clipboard functionality in the OS. It
would allow you to add a "Copy" button that could write some value to
the clipboard for pasting outside of the app without the need to
create a textfield that would then need to be copied again by the end
user. I know that there are probably security restrictions on this
type of functionality from Javascript, but wondered if it had been
considered.
Is this on the radar screen for Qooxdoo at all? It sounds like it
would really help Alexander and probably others as well.
Thanks! But this feature not in my high priority currently :)
I just checked, maybe it's somehow can be easily "enabled".
If I'll get in need of such feature, and it wouldn't be implemented,
I'll make it and send code here.
But anyway I think it would be great feature :)
Thanks,
Gene
On Thu, 2009-07-30 at 18:05 +0200, thron7 wrote:
Hi Alexander,
> I have one ore question, how to copy text from tables?
>
Out-of-the-box and cross-browser, you can only work on the cell level:
If a cell is editable, you can double-click it, select the content and
copy it to the clip board.
Since table rows are selectable (see the demo at
http://demo.qooxdoo.org/current/demobrowser/index.html#table~Table_Selection.html
<http://demo.qooxdoo.org/current/demobrowser/index.html#table%7ETable_Selection.html>),
you could write your own functionality for copying: Let the user select
some rows, than hit a "Copy Selected" button. On hitting that button,
your application would need to get the selection from the table, go
through the corresponding data, serialize it into e.g. a list of strings
(e.g. in csv format), and provide the serialization in a text field to
the user. This text field can the user then select and copy.
HTH,
T.
> In my old system we had a simple html table, and users can copy whatever
> they need.
> In qooxdoo I can't copy anything from tables.
> Can anyone help? :)
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Best Regards
Alexander Yerenkow,
Generalissimo of UCT
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel