Since I'm no fan of the Data Grid, I wasn't surprised when I selected some rows and found that the "Copy" command is grayed out, making it impossible for a user to copy data out of the Data Grid and paste into, say, a spreadsheet.
Am I missing something, or is the Data Grid truly this crippled?
If there's no native support, I think solution would be to make a "Copy" button with this code:
Code: Select all
set the clipboardData["text"] to the dgText of grp "myDG"
The good news is that the workaround is a mere single line of code for the whole DG. It does copy the whole DG; if just a selection is needed it gets tricker, but probably still do-able.
Probably there's a way to create my own "Copy" menu item and link it to that script, and also to have it work with Command-C, but I haven't messed with menus yet.