This content has been marked as final. Show 4 replies
My solution has been to use HTTPService to post to a .php, .aspx, or .jsp page. The HTTPService returns a URL to the excel document that I load using navigateToURL.
If you transform the data from the datagrid into a TSV format string you can use System.setClipboard(myTSVString) to stick it on the clipboard. A simple paste in Excel and voila. Michael Ramirez's solution is a bit more sophisticated.
I'm trying to do this: in my application I have a datagrid and I have a button to export the datagrid in Excel. When the user click on the button, I need to open a new html window where the data are showed in the excel format (may be also csv).
I read that you have a solution to show the excel document. Are you available to share an example of the code or provide me a link on the web where I can find it?
Any suggestion will be appreciated.
Thank you very much.