If you are just interested in text styles, you can probably examine the styles 
supported for TextInput or Label.   In Flex, you can subclass DG and add a 
“foo” style and support it in the renderer.  But odds are that Excel won’t 
support it.


On 5/23/12 2:32 PM, "aceoohay" <pa...@compuace.com> wrote:






Alex:

If I knew what I was looking for, or knew how to find what I was looking for I 
would have used the GetStyle for the spcific things I needed.

Is there documentation that describes the styles that would be applicable for a 
datagrid header?

Paul

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Alex 
Harui <aharui@...> wrote:
>
> There is an object or two on each UIComponent that has styles, but it 
> actually has lots of styles that probably don't matter.  I would just call 
> getStyle for the styles you know you can replicate to Excel.
>
>
> On 5/15/12 3:56 PM, "aceoohay" <pauls@...> wrote:
>
>
>
>
>
>
> Here are two related questions, I am using SDK 3.5 & FlexBuilder 3;
>
> 1) How can I get the header style information from a datagrid? What I need to 
> do is to extract enough info about each column's header to be able to pass it 
> to an Excel component to style the headers of the spreadsheet.
>
> 2) Is there a way to loop through a component's style info? I would like to 
> be able to pass an object to a function, and have that function loop 
> (recursively if needed) and find all of the style names and values. This is 
> mainly for development, so just being able to "Trace" these values would be 
> fine.
>
> Paul
>
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to