Are you doing any mouse event handling in your renderer? If you are, you might be confusing the underlying DG if you are blocking events in some way. If you can get configured to debug into the Flex source, the key methods are in ListBase.as (mouseOverHandler, mouseEventToItemRenderer).
If you want to post the code to your renderer, we can take a look. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of vebazzo Sent: Monday, January 08, 2007 2:33 AM To: [email protected] Subject: [flexcomponents] Datagrid Item Renderer Clicking Question Hello, everybody. I have a simple question regarding item renderers in the Data Grid. I have created a simple item renderer that replaces a cell of the Data Grid with a simple image. Now I want to allow the user to select that row by clicking on the image. For some reason, the row doesn't highlight (as if selected) when the user clicks on the image. If I get the "selectedIndex" property, it shows the index of the image's row; but the datagrid doesn't highlight that row. If I click in another column of the datagrid (a normal one, without a custom item renderer), the row gets highlighted as I want. Does anybody know why this happens and how can I get around it? I really want the datagrid's row to be highlighted when the user clicks in this image. I tried other types of renderers as well and the problem is always the same. Thank you very much!
