The focusOut event should work for you.
<mx:DataGrid focusOut="commitChanges()"
/>
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Hirschi
Sent: Thursday, July 14, 2005 3:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how do I tell when a datagrid loses focus?
Is there a simple way to tell when an entire datagrid
loses focus?
Ie i have an editable datagrid that i want to be able
to tell when the whole datagrid loses focus so that i
can commit changes. I can tell when cells focus in
and focus out, but am having trouble with the whole
datagrid.
Is there an event that gets triggered when a component
like a datagrid loses focus?
Thanks for the help!
Jon Hirschi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>---- HM ADS ?>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?> ---- HM ADS ?>
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.