Skip to main content

onEventCopied

Description

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

onEventCopied: (ev: object) => void;

Parameters

  • ev - (required) object - the 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);
});

Details

note

The event requires the key_nav extension to be enabled.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.