Set the DataGrid selectedIndex to the index of the row you want to select (duh)
If the row may not be visible, also set the vPosition = selectedIndex Tracy -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manish Sent: Wednesday, September 28, 2005 2:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Focus on row of DataGrid Hi all, This is first mail to this group and I am very new to the flex. I am working on a project in which i need that if i click a button focus should set on the particulat row of the datagrid. Is it possible. Do we have some focus property for the datagrid. I will really appreciate if someone will help me in this regard. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/