onEventCopied

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

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

Parameters

evobjectthe object of the copied event

Example

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

Related samples

See also
Back to top