Re: [flexcoders] ADG to .csv - Not finding any solutions out there
At Flash Player 10 you could do it. http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/ But I've never used. -- Marco Catunda On Tue, Mar 24, 2009 at 11:24 AM, Scott wrote: > I tried to do this a while back from the client but ran into an issue where > flex doesn't have direct access to the file system. This talks about it > here: > http://livedocs.adobe.com/flex/3/html/help.html?content=security_6.html > However, you can do this with Air. I started working on a similar thing for > something I was playing with. All I did was loop through the datagrid > objects and parse out the information I wanted then manually wrote the > variables in the order I wanted with a "," (comma) between each one. > > If you can find a way around the standard flex app being able to write to > the drive then let me know! > > Scott > > > > From: flexcoders@yahoogroups.com on behalf of Tom Chiverton > Sent: Tue 3/24/2009 9:45 AM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] ADG to .csv - Not finding any solutions out there > > On Tuesday 24 Mar 2009, Adrian Williams wrote: >> several solutions for doing this with a standard DataGrid, but nothing >> for the Advanced, including searching thru the flexcoders archive. > > I'd expect the same approach to work - at a guess it grabs dg.dataProvider > and > loops over it ? > > -- > Tom Chiverton > Helping to authoritatively mesh synergistic sticky seamless clusters as part > of the IT team of the year, '09 and '08 > > > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England and > Wales under registered number OC307980 whose registered office address is at > Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list > of members is available for inspection at the registered office together > with a list of those non members who are referred to as partners. We use the > word ?partner? to refer to a member of the LLP, or an employee or consultant > with equivalent standing and qualifications. Regulated by the Solicitors > Regulation Authority. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and may > be confidential or legally privileged. If you are not the addressee you must > not read it and must not use any information contained in nor copy it nor > inform any person other than Halliwells LLP or the addressee of its > existence or contents. If you have received this email in error please > delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > For more information about Halliwells LLP visit www.halliwells.com > <http://www.halliwells.com/> . > > -- > This message has been scanned for viruses and > dangerous content by MailScanner <http://www.mailscanner.info/> , and is > believed to be clean. > >
Re: [flexcoders] ADG to .csv - Not finding any solutions out there
When I did this, I just looped though the dataprovider, concatenating values to a string, then save it as a file with a .csv extension. No problem with that. It doesn¹t even matter what kind of component you are using. - you could do it from a combobox. Alan >I've seen several solutions for doing this with a standard DataGrid,
RE: [flexcoders] ADG to .csv - Not finding any solutions out there
I tried to do this a while back from the client but ran into an issue where flex doesn't have direct access to the file system. This talks about it here: http://livedocs.adobe.com/flex/3/html/help.html?content=security_6.html However, you can do this with Air. I started working on a similar thing for something I was playing with. All I did was loop through the datagrid objects and parse out the information I wanted then manually wrote the variables in the order I wanted with a "," (comma) between each one. If you can find a way around the standard flex app being able to write to the drive then let me know! Scott From: flexcoders@yahoogroups.com on behalf of Tom Chiverton Sent: Tue 3/24/2009 9:45 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ADG to .csv - Not finding any solutions out there On Tuesday 24 Mar 2009, Adrian Williams wrote: > several solutions for doing this with a standard DataGrid, but nothing > for the Advanced, including searching thru the flexcoders archive. I'd expect the same approach to work - at a guess it grabs dg.dataProvider and loops over it ? -- Tom Chiverton Helping to authoritatively mesh synergistic sticky seamless clusters as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com <http://www.halliwells.com/> . -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. <>
Re: [flexcoders] ADG to .csv - Not finding any solutions out there
On Tuesday 24 Mar 2009, Adrian Williams wrote: > several solutions for doing this with a standard DataGrid, but nothing > for the Advanced, including searching thru the flexcoders archive. I'd expect the same approach to work - at a guess it grabs dg.dataProvider and loops over it ? -- Tom Chiverton Helping to authoritatively mesh synergistic sticky seamless clusters as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] ADG to .csv - Not finding any solutions out there
Hi All, I've been searching for a few hours and I'm coming up short...I'm not finding much info out there on ways to export the data contained in an ADG to a .csv format (for later import into Excel). I've seen several solutions for doing this with a standard DataGrid, but nothing for the Advanced, including searching thru the flexcoders archive. I've seen mention of doing this server side (though nothing in solutions for C#.NET) but we'd MUCH prefer to do this client-side. I'm wondering if anyone out there knows of a solution for this before I go thru the trouble of trying to manipulate the DG export classes out there to use an ADG? Best, Adrian