onEventCut

fires when the user presses the 'CTRL+X' keyboard command (only with the 'keyboard navigation' extension enabled)

void onEventCut(object ev);
evobjectthe event's object

Example

scheduler.attachEvent("onEventCut", function(ev) {
    dhtmlx.message("You've cut the event: <br/><b>"+ev.text+"</b>");
    scheduler.updateEvent(ev.id);
});

Related samples

Details

The event requires the key_nav extension to be enabled.

See also
Back to top