Not sure until you debug into it. FWIW, you itemrenderer should be unnecessary as written. By setting the DG column's dataField to Location (you can set the headerText to something more readable) and setting the DG's rowHeight to 33, you should see the same visuals and with better performance and less memory. Using a container as a renderer is pretty heavy.
But if you do go with a custom renderer like this, you should pass data to super.data in the setter or customize a getter. Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of Mike Chang Sent: Friday, February 06, 2009 10:01 AM To: [email protected] Subject: Re: [flexcoders] DataGrid mouseover Thanks. I don't understand why it would be disabled because of itemrenderer though. My item renderer looks like - <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="middle" height="33" > <mx:Script> <![CDATA[ override public function set data(val:Object):void { myLabel.text = val.Location; } ]]> </mx:Script> <mx:Label id="myLabel"> </mx:Label> </mx:VBox> On Tue, Feb 3, 2009 at 7:24 AM, Alex Harui <[email protected]<mailto:[email protected]>> wrote: Debug into mouseEventToItemRenderer and see why it doesn't return the correct renderer From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Mike Chang Sent: Monday, February 02, 2009 12:47 PM To: [email protected]<mailto:[email protected]> Subject: [flexcoders] DataGrid mouseover I have a data grid, and one of the columns I used ItemRenderer to have a vbox and an image inside as a button. Everything looks good except the entire column where that ItemRenderer is used does not invoke the same mouseover events as the other columns. The mouseover event I was looking for is highlighting the row on mouseover and selection (with a darker hue). How do I get the column to do mouseover again for the whole row? Thanks in advance.

