Derrell Lipman schrieb:
> On Tue, Jan 6, 2009 at 10:06 AM, Ralf Nieuwenhuijsen 
> <ralf.nieuwenhuij...@gmail.com <mailto:ralf.nieuwenhuij...@gmail.com>> 
> wrote:
>
>     2009/1/6 Derrell Lipman <derrell.lip...@unwireduniverse.com
>     <mailto:derrell.lip...@unwireduniverse.com>>:
>     > On Tue, Jan 6, 2009 at 9:43 AM, winfried detmar
>     <wm.det...@online.de <mailto: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
you are looking for the "changeOpen" event of the tree folder. This is 
fired each time a tree is opened or closed. We use this for example in 
the API viewer to populate a tree folder if it is first opened.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to