The onEventEditKeyDown event handler is fired when a keydown
event is detected during inline event editing.
Available since version 2021.3.5073.
DayPilot.Scheduler.onEventEditKeyDown(args);
args.e
(DayPilot.Event) - the active event
args.cancel()
- cancels the editing without applying changes, equal to hitting <escape>
args.element
- the <textarea>
element used for editing
args.originalEvent
- the original KeyboardEvent object
args.preventDefault()
- cancels the default action (the default action is defined for <escape>
and <enter>
keys)
args.submit()
- submits the changes, equal to hitting <enter>