On Thu, Oct 8, 2009 at 10:40, Loïc Bresson -- Novlog <
[email protected]> wrote:

> Loïc Bresson -- Novlog wrote:
>  > How should I do to have a context menu that appears only when I
> click in
> > an empty area of the tree ?
>
> I could add a listener for the event "contextmenu" on my tree and check
> if any item is selected, but how to display the context menu on the screen
> ?
>
>
In your item context menu event handler, I think you just need to call e.
stopPropagation(); to prevent the event from propagating up to the tree.

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

Reply via email to