Re: [flexcoders] dynamic vbox backgroundcolor in renderer

2006-08-11 Thread Igor Costa



In fact you need to use StyleName instead of using an import to the directly tag.I mean< StyleName="importnr">On 8/11/06, amigo_fd
 <[EMAIL PROTECTED]> wrote:












  



Hello,

I have a datagrid with three colums:


width="250" x="0" bottom="0" top="225">
   
  
itemRenderer="renderer_dg_importstatus" />
  
dataField="destination"/>
  
   


As you can see the first one uses a renderer to show different things
within the same cell.
This is the code for the renderer:


http://www.adobe.com/2006/mxml"
horizontalAlign="center" horizontalGap="5">
   
backgroundColor="{data.showcolor}" />
   
text="{data.importnr}" />


The importnr is shown ok, but the backgroundColor doesn't do a thing
... it just stays black although the datafield showcolor contains
#ff or #00ff00.

What am I doing wrong ?

Thanks,
Frank 


  













-- Igor Costawww.igorcosta.com

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] dynamic vbox backgroundcolor in renderer

2006-08-11 Thread amigo_fd
Hello,

I have a datagrid with three colums:


   
  
  
  
   


As you can see the first one uses a renderer to show different things
within the same cell.
This is the code for the renderer:


http://www.adobe.com/2006/mxml";
horizontalAlign="center" horizontalGap="5">
   
   


The importnr is shown ok, but the backgroundColor doesn't do a thing
... it just stays black although the datafield showcolor contains
#ff or #00ff00.

What am I doing wrong ?

Thanks,
Frank 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/