I do that with regular CTRL-C listening for the copy event to do on a row/cell basis. I also have function that copies all visible row/columns to the clipboard.
On flex the setClipboard function only stores text data, but you can add HTML tags inside to do basic formatting if you paste it in MS Excel. Such as bordering, bold, headers... The AIR version of the function allows differenthttp://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/InteractiveObject.html#event:copy clipboard types to be used. Not all programs accept the HTML formatting automatically since it has the text clipboard type. One point to note, the system clipboard has a security requirement that the user trigger the action with a button or key combination to allow the action. System.setClipboard(string): http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/System.html#setClipboard() TextClipboard: https://flex.apache.org/v2/asdoc/flashx/textLayout/edit/TextClipboard.html Copy event: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/InteractiveObject.html#event:copy -Mark -----Original Message----- From: Oleg Konovalov [mailto:oleg...@gmail.com] Sent: Friday, January 18, 2013 7:23 To: dev@flex.apache.org Subject: From ADG to Clipboard and Excel Hi, I need to add the following to my Flex4 (4.6) Web App: 1) being able to select some cells from AdvancedDataGrid and copy it to Clipboard (to be able to paste to any file like Word, Excel, CSV or text file 2) being able to export the whole ADG context to Excel. Could you please suggest how to do it? (read lots of posts, but honestly none useful) Thank you in advance , Oleg.