- Just trigger the ContextMenu on the Tree id to use my method:
myContextMenu = new YAHOO.widget.ContextMenu("contextMenu",
Gabriele Farina wrote:
> How should I structure the hanlder to acces directly the node? I defined_____________________________________________________________________
> an handler for every tree node, but is does not seems to me a good
> I'd likle to reproduce this behaviour: first of all I pregenerate the
> context menu using custom markup. Then I intercept all the oncontextmenu
> events that will be raised from the node into the tree. Based on the
> node I enable/disable some menu items and I add aditional children to a
> particular menu item.
> This message has been checked for all known viruses. Virus scanning
> powered by Messagelabs http://www.messagelabs.com For more information
> e-mail : hostmaster@...
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : hostmaster@...