Hi,
I have a treeview and a context menu:
<ejs-treeview id="myTree" nodeSelected="onNodeSelect">
<ejs-contextmenu id="menu" target="#myTree" items='ViewData["menuItems"]' select="menuClick" beforeOpen="beforeOpen"></ejs-contextmenu>
Problem is: NodeSelected and ContextMenu events are firing together and I'm not able to show the ContextMenu.
In the NodeSelected, I want to load a page however when the contextmenu is clicked I want to show the menu.
What happens in my case is, when I right-click for contextmenu, nodeselected gets fired and hence a page is loaded instead of simply showing context menu.
Could you please let me know how I could handle this?
Thank you.