[flexcoders] Re: Get the fontWeight of a datagrid header.

2011-09-12 Thread aceoohay
I guess no one knows how to do this.

If I find a way I will post it here.

Paul

--- In flexcoders@yahoogroups.com, aceoohay pauls@... wrote:

 I found what I want (I think) in cachedHeaderRenderer - inheritingStyles - 
 fontWeight. Unfortunately I have no idea how to reference that.
 
 Any ideas?
 
 Paul
 
 --- In flexcoders@yahoogroups.com, aceoohay pauls@ wrote:
 
  Is there a way of getting the fontWeight, color, style... of the column 
  header in a datagrid?
  
  I am writing a component that converts a datgrid to excel, and would like 
  to make the spreadsheet look as similar as possible to the data grid.
 





[flexcoders] Scroller and mouseEnabledWhereTransparent Issues

2011-09-12 Thread jitendra jain
Hi Coders,

   I have one group component in which the children are added dynamically. 
There 
is also some components on which it is overlapping
. But when i apply the scroller with height 90%. No area below this component 
is 
clickable even though its height is not 90%. Even i tried with 
mouseEnabledWhereTransparent =true. But nothing seems working.



public function showElement(comp :*):void{
container.addElement(comp);
}


s:Group id=parentGrp includeInLayout=true 
 top=10 right=10 bottom=10 
 mouseEnabledWhereTransparent=true
   
   
s:Scroller right=0 top=40  height=90%
s:Group id=container right=5 bottom=2 width=100% 
mouseEnabled=true mouseEnabledWhereTransparent=true includeInLayout=true
s:layout
s:VerticalLayout /
/s:layout
/s:Group
/s:Scroller

/s:Group

Any help is highly appreciated..
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


[flexcoders] navigateToUrl( ) - can I determine when completed?

2011-09-12 Thread lanekelly5
I have a function call in my app that calls the server and expects back a CSV 
file that I want the user to be able to save.  Right now I make that call via 
navigateToURL() with a parameter of _blank.  Due to a change in requirements, 
I need to refresh a grid after that server call is completed so I need some 
sort of complete event.  I see that URLLoader() has a complete event, but it 
doesn't seem to support opening in _blank so I get the save prompt.  

Anyone know a solution here?



[flexcoders] Flex line chart

2011-09-12 Thread chinwesley
I want to create a line chart in Flex.  I know how to create a simple one but 
the one I need to create needs to have 6 series (lines). 
 
The problem is that when I get the data from MYSQL, there is 6 xFields (one for 
each line) that are the same. eg.  Western Cape - January, Western Cape - 
February, Western Cape - March, etc (for 6 months).
 
That means that instead of there being only 9 xfields (province (south african 
provinces)), there is now 54 of them because they are being populated with all 
the values and not the unique ones.   The same thing will happen with the line 
series becuase the line series will have 6 of the January's, 6 of the 
February's and so on.
 
I just want to have 9 xfields and not 54 and 6 months and not 9 of each.
 
Is there a way to solve this please? 
 
Regards,
Wesley



Re: [flexcoders] Flex line chart

2011-09-12 Thread Brendan Meutzner
I've re-read your post 3 times, and still can't make sense of how your data
is structured.

Is there any way you can post an example of the structure?

There's always a way to massage the data to fit into the charting...

Brendan


On Mon, Sep 12, 2011 at 7:06 AM, chinwesley wesleyc...@hotmail.com wrote:

 **


 I want to create a line chart in Flex. I know how to create a simple one
 but the one I need to create needs to have 6 series (lines).

 The problem is that when I get the data from MYSQL, there is 6 xFields (one
 for each line) that are the same. eg. Western Cape - January, Western Cape -
 February, Western Cape - March, etc (for 6 months).

 That means that instead of there being only 9 xfields (province (south
 african provinces)), there is now 54 of them because they are being
 populated with all the values and not the unique ones. The same thing will
 happen with the line series becuase the line series will have 6 of the
 January's, 6 of the February's and so on.

 I just want to have 9 xfields and not 54 and 6 months and not 9 of each.

 Is there a way to solve this please?

 Regards,
 Wesley

  



[flexcoders] Why does FormItem label text-align stop working in TileLayout?

2011-09-12 Thread Chris Velevitch
In Flex 4.5 spark forms, I can right justify formitem labels with the style:-

 s|FormItem #labelDisplay {text-align: right;}

and form layout set to s:FormLayout/.



When I change to layout to:-

s:layout
 s:TileLayout
  requestedColumnCount=3/
/s:layout

the label text alignment is ignored.

I have 42 data items I want to layout in 3 columns and I'm displaying
each data item with a FormItem like:-

s:FormItem label=data item1:
 s:Label text={theData.dataItem1}/
/s:FormItem

and I'm using the fx:Style to set each of the form item's label text
alignment to the right.


How can I get this working?



Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Topic: Deploying Coldfusion into the Cloud
Date: 26th September 6pm for 6:30 start
Details and RSVP on
http://apugs.groups.adobe.com/index.cfm?event=post.displaypostid=38239