Thanks Gordon, it did work. Thanks! Hari
-----Original Message----- From: Gordon Smith [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 4:21 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] un-selecting a row in datagrid Try setting dg.selectedIndex = undefined. - Gordon -----Original Message----- From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 1:11 PM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] un-selecting a row in datagrid Hi, Does any one know how to un-select an already selected row in a datagrid? Situation is like this, user can navigate data either by selecting an item from datagrid or by clicking PrevBtn or NextBtn. When user selected an item from DG and then used PrevBtn or NextBtn then data displayed on screen is not for highlighted item in the grid. I want to un-select the item in DG as soon as user click either PrevBtn or NextBtn? I know there is a clearSelected( ) method available but the drawback, according to Doc, is it clears and re-draws the entire list. I don't want to do this because of time delay if I have huge data in DG. Thanks in advance.. Thanks! Hari Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/