How do you assign a target div tag for the context menu. I'm creating the menu as a component to add to an application and need to assign the target to popup the menu,
1 Answer, 1 is accepted
0
Filip
Telerik team
answered on 02 Dec 2025, 09:51 AM
Hi, Richard,
To assign a target div for the KendoReact ContextMenu and display the menu when right-clicking on that div, you can use the onContextMenu event. This event allows you to capture the mouse position and show the ContextMenu at the location of the click. This approach can be seen in action in the following example: