Dynamic tree context menu
Posted: 25 Mar 2020, 17:35
Hi,
I need to change the contents of the context menu of a Tree based on the node type.
I can use the onNodeContextMenuSelect event and hide the menu items that shouldn't show.
But the problem is that some nodes shouldn't have a context menu at all. Is it possible to intercept the show event and interrupt it?
Thanks in advance,
Rodrigo
I need to change the contents of the context menu of a Tree based on the node type.
I can use the onNodeContextMenuSelect event and hide the menu items that shouldn't show.
But the problem is that some nodes shouldn't have a context menu at all. Is it possible to intercept the show event and interrupt it?
Thanks in advance,
Rodrigo