I don't see anything obvious, but it might be that HBox isn't sizing correctly. It doesn't appear that you need to use an HBox renderer. I would use the default renderer, set the textAlign and fontWeight on the datagrid column, and hook up the formatter to the labelFunction.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Friday, January 11, 2008 10:12 PM To: [email protected] Subject: RE: [flexcoders] DataGrid corruption issue 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. <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> ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>

