Skip to main content

onEventCut

Description

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

onEventCut: (ev: object) => void;

Parameters

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

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.