onEventCut

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

void onEventCut(object ev){ ... };

Parameters

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

See also
Back to top