Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Scheduler › Dynamic context menu › Reply To: Dynamic context menu
		January 15, 2024 at 1:17 pm
		
		#109684
		
		
		
	
Keymaster
		
		
	Hi,
You can use the contextMenuOpening event to prevent the default context menu. In the event.detail, depending on whether you clicked a cell or event, you will have either cellObj or eventObj. By calling event.preventDefault() you will prevent the default context menu and you can open a custom context menu.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/