Context Menu Assign Target?

1 Answer 4 Views
ContextMenu
Richard
Top achievements
Rank 1
Richard asked on 30 Nov 2025, 10:11 PM
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

Sort by
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:

Please give this approach a try and let me know in case this is not exactly what you are looking for and I will gladly assist.

IRegards,
Filip
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ContextMenu
Asked by
Richard
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or