Yes sir,

   I have been using in all columns(aprox. 32 columns). When iam scrolling 
down, then the data grid gets corrupted.

   It overwrites the columns and some columns are empty.


Alex Harui <[EMAIL PROTECTED]> wrote:                                     
  Is this renderer used in all columns?  What kind of corruption are you seeing?
   
      
---------------------------------
  
  From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
jitendra jain
 Sent: Thursday, January 10, 2008 9:59 PM
 To: [email protected]
 Subject: RE: [flexcoders] DataGrid corruption issue
  
   
        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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
jitendra jain
 Sent: Thursday, January 10, 2008 3:56 AM
 To: [email protected]
 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.
  
  
      


     
                               

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to