Hi Alex,

Thanks for the info. That explains what's going on. So given that behaviour, 
what I'm 
doing now is manually dispatching a COLLECTION_CHANGE event on behalf of the 
collection in the itemFocusOut handler, which seems to cause the DataGrid to 
refresh that 
row. 

Does that seem like a reasonable solution or is there a better way to handle 
this? Basically 
I'm trying to have column A's value update column B when column A is edited. So 
I'm trying 
to get the DataGrid to realize that the dataField for B has changed.

Ryan

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> It gets re-enabled when the editor moves to a new row.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of rmarples
> Sent: Friday, February 08, 2008 11:10 AM
> To: [email protected]
> Subject: [flexcoders] Re: DataGrid editor lifecycle
> 
>  
> 
> Hi Scott,
> 
> That was the event I originally tried but the problem with it is that
> the dataProvider hasn't 
> been updated yet with the new value from the editor, so it's too early
> for me. I need the 
> new value already in the dataProvider so that I can refer to it. Or am I
> misunderstanding?
> 
> Ryan
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , Scott Melby <smelby@> wrote:
> >
> > try itemEditEnd
> > 
> > hth
> > Scott
> > 
> > Scott Melby
> > Founder, Fast Lane Software LLC
> > http://www.fastlanesw.com <http://www.fastlanesw.com> 
> > 
> > 
> > 
> > rmarples wrote:
> > >
> > > Hi folks - Does anybody know what the lifecycle of the DataGrid 
> > > editing process is in regards
> > > to disabling and enabling the autoUpdate feature of it's
> dataProvider? 
> > > It seems that it gets
> > > disabled at some point when the editing process begins and I'm not 
> > > clear when it's gets re-
> > > enabled. I'm trying to call itemUpdated in the itemFocusOut handler 
> > > and it's not having any
> > > immediate effect because it appears the autoUpdate feature on my 
> > > collection is disabled at
> > > that point. Where is a better place to do this?
> > >
> > >
> >
>



Reply via email to