[Dojo-interest] TreeContextMenu: Assigning to TreeNode instead
ilia at dojotoolkit.org
Thu Apr 27 07:11:38 MDT 2006
ContextMenu is assigned to whole tree, because assigning separate menu to
every node is too costly in terms of performance.
But it contains the code to manage node-specific things, disabled actions
etc. See sources.
From: dojo-interest-bounces at dojotoolkit.org
[mailto:dojo-interest-bounces at dojotoolkit.org] On Behalf Of Shulman, Steve
Sent: Wednesday, April 26, 2006 10:06 PM
To: dojo-interest at dojotoolkit.org
Subject: [Dojo-interest] TreeContextMenu: Assigning to TreeNode instead
I'm trying to figure out a way to allow TreeContextMenu items to be assigned
to a TreeNode instead of the entire Tree. In many cases, various node types
will require unique context menu options. The ideal implementation would
assign the tree-wide context menu that would be used if a node-specific
context menu is not specified. I'm relatively new to the Dojo environment,
and was interesting in getting any recommendations on how to implement this
type of change?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest