ItemEditEnd fires when the DG has editable=true, and you click somewhere
else or tab somewhere else.  There could be an issue if the editor
doesn't take focus, I've never tried that.  Set its tabEnabled=true and
have it implement IFocusManagerComponent.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Charlie Hubbard
Sent: Wednesday, August 13, 2008 6:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting an ItemEditEnd event to fire from a
customer itemEditor (Focus?)

 

Hi,

I have a customer item editor that handles a 5 star rating system.  If
the user clicks on the component it will rate it 1-5 stars.  I've gotten
everything working except I can't get the DataGrid to fire an
itemEditEnd event when I click on the component.  I figured it would
work similar to CheckBox, but I think my missing piece is that CheckBox
is focusable where my HBox with 5 Image components is probably not.
What actually triggers the DataGrid to know when an editor is done
editting?  Should my customer editor fire the itemEditEnd event?  Or is
that DataGrid's responsibility?  If it is, what event can I fire to
force DataGrid to fire it's ItemEditEnd event?

Thanks
Charlie

 

Reply via email to