Opened 15 years ago
Closed 15 years ago
#2578 closed defect (wontfix)
new TreeContextMenuV3 from code with existing TreeV3
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Widgets | Version: | 0.4.2 |
Keywords: | TreeContextMenuV3 | Cc: | |
Blocked By: | Blocking: |
Description
I was trying to connect a new context menu to an existing tree, but it doesn't work:
The menu is created via dojo.createwidget(), after the tree is created. But the menu is only connected to the tree when the tree itself is created (on "afterTreeCreate" ).
A fix could be a constructor with the tree as a parameter, to connect to an existing tree.
Note: See
TracTickets for help on using
tickets.
TreContextMenu? is discontinued; need to hook up context menu manually by extending controller.