estanglerbm commented on issue #1022:
URL: https://github.com/apache/royale-asjs/issues/1022#issuecomment-754576067


   Here is some sample code that copies grid data to the clipboard in CSV 
format (copyValues), and some sample code that copies grid data to a file in 
CSV format (saveValues) for use in Excel:
   
   
[clipboard-example.as.txt](https://github.com/apache/royale-asjs/files/5769808/clipboard-example.as.txt)
   
   Note that I've changed the code up from the original, and I have not 
compiled it, so YMMV.
   
   Also, this was originally Flex code that worked (for Spark DataGrid), but on 
the Royale side (after some changes to handle XML and switch back to MX 
AdvancedDataGrid), I'm not 100% sure if the logic for "selected items" works 
(for doing a subset of rows).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to