JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Scheduler › Dynamic context menu › Reply To: Dynamic context menu
January 15, 2024 at 1:17 pm
#109684
Markov
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/