Category / Section
How to open editor window in single click?
1 min read
This knowledge base explains the way to open editor window in single click.
Step 1: Create a JS Scheduler by referring to the following User Guide link.
Step 2: Bind popupOpen event to open the editor window in a single click as shown in the following code example.
popupOpen: function (args) { if (args.type == "QuickInfo") { args.cancel = true; var currentAction = args.target.classList.contains("e-work-cells") ? "Add" : "Save"; scheduleObj.openEditor(args.data, currentAction); } }
Step 3: Run the sample, clicking the event/cell will directly display the editor window as shown below.
Figure 1: Displaying editor window in a single click.
Please refer to the example from the following GitHub link.