I believe I need to be able to cancel the event with the
preventDefault method. My application is much more complex than this
example... The dataField I am using in my application on this column
is actually an object navigation path. Because I can't specify a
dataField to be myObj.childObj.name, I believe I need to handle it
myself to set the appropriate value. As for this example, I was just
trying to put forth a smaller test case that originated from the Flex
Docs.
I suppose my VERY UGLY workaround to this is to reimplement finding
the next cell and then dispatching an itemBeginEdit event on that
cell. But this doesn't seem logical to me in regards to code
maintenance... although, I feel that later in my code, I am going to
have to reimplement this anyway because of how we are looking to set
the tab focus across datagrids that are positioned next to each other.
Any more ideas would be much appreciated?
Thanks
-scott
--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 5/12/06, Scott Romer <[EMAIL PROTECTED]> wrote:
> > I have created a custom editor for my dataGrid. I am also handling
> > the itemEditEnd event. When focus exists in a cell in this column and
> > I try to TAB out, I am prevented... In tracing through the code, (in
> > DataGrid.as, I believe I know why.. but not sure if this is a bug or
> > by design).
>
> Interesting. So cancelling an "itemEditEnd" also prevents the focus
> from moving on.
>
> Have you tried not cancelling the event and instead making
> modifications to your StateEditor.mxml to make it work the way you
> want?
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

