Does does the cell editing end other than by clicking on another cell or hitting tab? The event should contain information about the session ending, and then ether will be other events about the next cell's session starting up.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jfournet Sent: Thursday, April 05, 2007 8:15 AM To: [email protected] Subject: [flexcoders] Re: Validating Datagrid --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You should validate edited cells during the ITEM_EDIT_END event > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of jfournet > Sent: Tuesday, April 03, 2007 8:57 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Validating Datagrid > > > > I am trying to validate a datagrid before I allow the user to click the > submit button. I am adding a cell editor for each cell with a > validator. On the change event in the cell renderer I validate the > cell and set a variable "valid" in the cell renderer. In the datagrid > I capture the cell edit end event and access the valid variable in the > cell editor and store it's value in a validation array. I then check > the validation array to see if it has any invalid values and if so > disable the submit button. The problem I have with this is the > validator in the cell editor does not execute until after the cell edit > end event. So I do not get the proper status. Does anyone have a > better way of doing this or have a code sample on how to do this? > I tried adding a listener to the item edit end event, but it does not get fired off after the cell edit ends, it gets fired off when I click on the cell.

