Open event editor manually in JavaScript Scheduler control
18 Nov 20181 minute to read
The Scheduler control provides flexibility for event creation and editing. By default, the editor opens when double-clicking on cells or appointments. However, you can also trigger the editor programmatically. This guide demonstrates different approaches to manually open the event editor window in your Scheduler application.
Open editor window externally
The Scheduler allows users to manually open the event editor for a specific time range or event using the openEditor method.
- To open the editor for a specific time range, pass the cell details as the first argument and Add as the second argument.
- To open the editor for an existing event, pass the event details as the first argument and Save as the second argument.
Open editor window on single click
By default, the Scheduler editor window opens when double-clicking cells or appointments. You can also configure it to open with a single click by using the openEditor method within the eventClick and cellClick events of the Scheduler. Additionally, set showQuickInfo to false to disable the default quick info popup.
The following example demonstrates how to open the editor window with a single click on cells and appointments.