On Tue, Jan 6, 2009 at 10:06 AM, Ralf Nieuwenhuijsen <
ralf.nieuwenhuij...@gmail.com> wrote:

> 2009/1/6 Derrell Lipman <derrell.lip...@unwireduniverse.com>:
> > On Tue, Jan 6, 2009 at 9:43 AM, winfried detmar <wm.det...@online.de>
> wrote:
> >>
> >> >
> >> > If you choose to use Tree then listen for the "changeOpenMode" event
> on
> >> > your
> >> > qx.ui.tree.Tree object.  See
> >> > http://demo.qooxdoo.org/current/apiviewer/#qx.ui.tree.Tree
> >> >
> >>  From the documentation and the demos, I understand that this event is
> >> only fired by a change of the open *mode* (ie simple or double klick) of
> >> the Tree widget, but not by a klick on a node (or FolderOpenButton). So
> >> I'm in doubt which use I could make of it in my context.
> >
> > Maybe, for Tree, it's the "click" event you need.  I would expect the
> > "changeOpenMode" event to be generated for any cause of opening or
> closing
> > the node.  @Fabian, care to elaborate on this?
>
> I'm not fabian, but isn't it more likely you want to catch the
> changeSelection method?
>

No.  A node being selected is not necessarily the same as opening the node.
The OP wanted to populate the children of the node upon opening the node.

Derrell
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to