On a Context Menu selection of “Move” I’d like to initiate the Drag event to allow the user to move the event.
I tried something like this:
menu.attachEvent(“onClick”, function (id, zoneId, casState) {
switch (id) {
case “Move”:
scheduler.callEvent(“OnBeforeDrag”, [_selectedEventID, “Move”, _selectedNativeEventObject]);
where _selectedEventID and _selectedNativeEventObject are globals set in OnContextMenu.
This calls the OnBeforeDrag event with the proper values, but you can’t actually drag the event.
I’d like to use a similar Context Menu selection for Resize and Create as well.
Is this possible?
Could you post some sample code?
Thanks,
Dave