Fixing the size of the label might prevent an entire update.  You can
also subclass and block as well.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of grantdotcox
Sent: Monday, September 10, 2007 11:14 PM
To: [email protected]
Subject: [flexcoders] Re: Datagrid editable cell loses focus on screen
update

 

Well, if I remove the "error message text" binding (so the validation
errors do not display), then the data in the grid is still reverted
ok, and I don't lose the edit session. So it's definitely to do with
the text updating - I imagine because this causes a re-layout of the
whole screen, which resizes the grid (even if it doesn't actually
change size).

Grant

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> In Flex 2 it was deemed too tricky to maintain the edit session while
it
> could be jumping around due to screen updates, so we kill the session.
> Not sure why updating outside the DG causes the DG to lose focus. Are
> you sure there isn't a collection change going on as well as you
revert
> data or something like that? You may need to not commit the data to
the
> collection until after validation.
> 
> 
> 
> The next Moxie Beta takes a stab and trying to maintain the edit
> session.
> 
> 
> 

 

Reply via email to