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" <pa...@compuace.com> 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

Reply via email to