Below is my custom item renderer, but the styles in my style source do not show 
up when the itemrenderer is used in a datagrid.  I have a tootlip style and it 
shows up every where in the app, but inside the itemrender.

TIA

<?xml version="1.0" encoding="utf-8"?>
<LinkButton xmlns="http://ns.adobe.com/mxml/2009";
        styleName="callOutHeader"
    color="#000000"
    maxWidth="270" 
    label="{da...@name}"
    labelPlacement="left"
    toolTip="IP Adress : {da...@ip}"
    left="5" 
    rollOver="{event.target.setStyle('textDecoration', 'underline') }"
    rollOut="{event.target..setStyle('textDecoration', 'none')}">
    
<Style source="assets/style/style.css" />
    <Script>
        <![CDATA[
                 public function handleClick(e:Event):void{
                navigateToURL( new URLRequest( true ? 'www.google.com'  ), 
'_self' );
             }
             
             override protected function commitProperties():void{
                                this.styleName = this.className;
                         }
        ]]>
    </Script>
        
</LinkButton>


Reply via email to