Unfortunately, there's no clean way.  I would watch the keyFocusChange
event and remember what it's shiftKey was.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike_Robinson_98
Sent: Friday, October 19, 2007 3:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Datagrid tabbing with itemEditor

 

Thanks, Alex. That was a much simpler solution than I was attempting
with loseFocus handlers (which were not working). I'll press my luck
and ask if you have an equally simple way to tell if the user did a
TAB or SHIFT-TAB to end the edit session, in order to tell which set
which column to go to next? The DataGridEvent does not seem to carry
that info.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> set editedItemPosition to where you want to go. We discontinue tabbing
> in case you want to set it back on the edited cell if the data is
> invalid.
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Mike_Robinson_98
> Sent: Friday, October 19, 2007 2:09 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Datagrid tabbing with itemEditor
> 
> 
> 
> The scenario is there is a custom editor in say, column 2 of 4 in a DG
> and I need to a itemEndEdit event handler to extract data. In the
> handler I use the preventDefault() to take the default editor out of
> the picture and use destroyItemEditor() to remove the custom editor.
> This works OK. The problem I am having is that it also stops the
> normal tabbing to the next column. Do I have to implement my own
> tabbing scheme too or is there some other way to allow the DG to
> continue to handle tabbing? This is a thorny issue for me as I have
> many DGs that are in this situation. If anyone has solved the problem,
> I'd sure appreciate some advice. Thanks.
>

 

Reply via email to