The onEventEditKeyDown event handler is fired when a keydown event is detected during inline event editing.
Available since version 2021.3.5073.
Declaration
DayPilot.Scheduler.onEventEditKeyDown(args);
Parameters
- args.e (DayPilot.Event) - the active event
- args.cancel() - cancels the editing without applying changes, equal to hitting <escape>
- 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>