The contextmenu is not fully implemented. You must do it your own.
It's possible to add it to the full tree, too. There is no need to add
them to each tree folder.
The basic code could look like thos:
tree.addEventListener("contextmenu", function(e)
{
menu.setLocation(left, top);
menu.setOpener(this);
menu.show();
});
Hope this helps.
Sebastian
RĂ¼diger Herrmann schrieb:
> Hi all,
>
> I would like to provide a context menu on a tree.
> My preferred way of doing so would be to set the
> contextMenu property on the tree directly. But that
> does not seem to work. The second attempt was to set
> the context menu on every node in the tree (TreeFolder),
> but that didn't help either.
> The thrid attempt I leave up to You (cause I don't have
> any)
> Any ideas what's wrong? I attached the snippet I played
> around with.
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel