Hello Neelima,

You also have an other option to export your datagrid to excel with out even
the interference of php.

1) With in the flex application you have to first select all the data from
the datagrid and convert it to html text, like just take a string as this

* var str:String = '<html><body><table width="'+dg.width+'"><thead><tr
width="' +* and so on.* *

then continue appending all the data from the datagrid row wise such that it
forms as an html table then copy the whole string to the clip board using
this funciton     *System.setClipboard(str);*

**
2) Then using the java script open your excell sheet and then paste it on to
that excel sheet, your desired format is ready.






On Tue, Feb 16, 2010 at 3:53 PM, [email protected] <
[email protected]> wrote:

> Hi all,
>  I exported datagrid to excel in flex3 using PHP.Is there any way to
> export datagrid to excel using only flex without using php.If yes
> please send me the code or suggest me.
>
>
> Thanks and Regards,
> Neelima.
>
> --
> 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.
>
>


-- 
Regards,

Sri Tej
Golive Gaming Solutions PVT LTD
ph - 9703224405

-- 
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