On Sat, Oct 24, 2009 at 09:18, skar <[email protected]> wrote:
> Hi,
>
> I want to close the table's cell editor, when the user clicks in any of
> the search text fields or clicks on any of the buttons in a buttonbar.
>
> I tried adding a focusout listener in which I called
> table.stopEditing(). However, when I double click on a cell to start the
> editor, that itself sends a focusout and so the editor closes before I
> can edit the cell. Or should I add a focus listener for all other
> focusable widgets like search text fields and buttons where I check if
> the table isEditing() and the stop the editing there?
>
You'll probably want to add the focusout handler on the actual editor, not
the cell. You can do that in the cell editor factory which creates the
editor.
Derrell
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel