flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kessler CTR Mark J" <mark.kessler....@usmc.mil>
Subject RE: Export to Excel
Date Thu, 29 Aug 2013 17:58:23 GMT
I use this method.  Inherit the DataGrid into a new component and add a permanent method for
export to clipboard.  Has the added benefit of making changes from filtering / sorting / column


-----Original Message-----
From: Scott Talsma [mailto:scott@talsma.tv] 
Sent: Thursday, August 29, 2013 1:49 PM
To: dev@flex.apache.org
Subject: Re: Export to Excel


I have had great luck simply scraping the entire grid into an HTML table,
and placing it into the clipboard.  Then popup an an alert instructing the
user to paste into Excel.  Obviously, if you are exporting 2 grids, then
you rely on the user to move the cursor correctly to the new position.

Maybe write two tables to a html file and then use native extensions to
launch excel and open it?  (This assumes AIR.)

View raw message