Hello,
I have a context menu on a appointment with a right click, together with a changed event on a selectable scheduler to track the selected item, which I need in the contextmenu. The problem is when I have a context menu open and I do a right-click on another appointment the change event for the scheduler doesn't fire. This leads to actions on the wrong event because the selected item is not updated.
How can I solve this?
events.Change("onSelectionChanged");
function onSelectionChanged(e) {
currentEvent = e.events[0];
..