Hi Gaurav,

You can always use as3xls for exporting data to excel IF you have simple
data to export. by simple data i mean you are not worried about the font
style, color, and stuff like that....

But if you want to retain the style as well then you have to work a little
extra.
1. You first need to understand what is the data structure used for
Excel(XML).
2. From your  action script code generate a XML formated string that Excel
understands.
3. Use FileReference(Flex 4) to save the file as .xls.

Thats it you are done with export to excel.
Hope it helps... :)

Thanks,
Naveen




On Fri, Sep 24, 2010 at 12:46 PM, Anoop PK <[email protected]> wrote:

> Hi Gaurav,
>
> There is a open source library project : as3xls. (http://
> code.google.com/p/as3xls/)
> I think you can use that to achive this.
> Just do a quick R&D and I think its quite easy as well.
>
> Happy Coding,
> Cheers,
> Anoop PK
>
> On Sep 24, 11:40 am, Gaurav <[email protected]> wrote:
> > Hi,
> > I want to export datagrid data with all it's attributes (like colours,
> > font size etc) to a excel file. Is it possible to do it, will anyone
> > help me regarding this. Thank you
> >
> > Reg,
> > Gaurav
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Thanks,
Naveen Malhotra

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to