Still struggling with this issue, and I'm quite confused about it having just
re-read the ContextMenu reference documentation. The documentation states that:
However, I don't see this principle being applied, since I have anotherIn Flex, only top-level components in the application can have context menus.
For example, if a DataGrid control is a child of a TabNavigator or VBox
container, the DataGrid control cannot have its own context menu.
component which has a tab navigator, with a tree component embedded in a vbox
which is acting as one of the panes in the navigator:
I can quite happily attach context menus to the node in my tree in this case
and it works just fine. The same is true in my problem with the advanced data
grid problem mentioned above. I am rendering buttons in each of the cells in my
grid, and these buttons all their own context menus (attached to their
itemRenderers), which works just fine - it's only the tree column within the
grid that I can't seem to get context menus working on the tree node.
Is anyone able to shed some light on this?