Try setting selectedIndex=-1 before you reset it to the correct values. Maybe it thinks certain rows already are drawn? You can set a breakpoint in drawSelectionIndicator to see if it is trying to draw
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 Jake Churchill Sent: Tuesday, May 19, 2009 1:43 PM To: [email protected] Subject: [flexcoders] DataGrid highlight issues I have a simple datagrid with double clicking enabled. Double clicking runs a long process of getting a bunch of data. The datagrid itself is not affected by any of the data changes. After the process is done, it is impossible to select an item in the datagrid. The selectedIndex and selectedItem both get set, just the highlight is missing so the user doesn't know that the row they clicked is selected. I tried creating a custom datagrid class extending datagrid and trapping Item Click events and manually calling updateDisplaylist() but that did not help. If I click and use a modifier key (SHIFT or CTRL) the highlight works. Does anyone have any ideas of how to fix this? Thanks in advance. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103

