Thanks for your kind support

This is a renderer code . Does this problem is due to vertialScrollPolicy and 
horizontalScrollPolicy is off? 


<?xml version="1.0" encoding="utf-8"?>
<mx:HBox width="100%" height="100%" xmlns:mx="http://www.adobe.com/2006/mxml"; 
backgroundAlpha=".6"
    verticalScrollPolicy="off" horizontalScrollPolicy="off" 
horizontalAlign="right">
    <mx:Script>
        <![CDATA[
       import mx.events.FlexEvent;
        import mx.controls.Alert;
        import com.model.ModelLocator;
        override public function set data(value:Object):void {
            if(value != null){
                
                super.data = value;
                 if(value.mapValue == 0){
                    map.text="";
                }else{
                   map.text=nf.format(value.mapValue);
                }
            }
            //dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
        }
        
        ]]>
    </mx:Script>
    <mx:NumberFormatter id="nf" precision="2"/>
    <mx:Text id="map" textAlign="right" fontWeight="bold"/>
</mx:HBox>

Alex Harui <[EMAIL PROTECTED]> wrote:                                     
  If your renderers don’t handle recycling properly they may not display 
properly.  Post some of your renderer code if you still have issues.
   
      
---------------------------------
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
jitendra jain
 Sent: Thursday, January 10, 2008 3:56 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] DataGrid corruption issue
  
   
        Hi friends,
 
    I have a issue with datagrid. I have mutiple of itemRenderers for this 
datagrid. Often this datagrid corrupts(while scrolling horizontally) . Why this 
is happening?
 
   Thanks,
 
    With regards,
 JJain
 
   
    
    
---------------------------------
  
  Looking for last minute shopping deals? Find them fast with Yahoo! Search.
  
  
      


     
                               

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Reply via email to