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.
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping> 

 

  

________________________________

Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping> 

 

Reply via email to