Articles in this section
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.

https://ej2.syncfusion.com/javascript/documentation/schedule/getting-started/#initialize-the-scheduler

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. Displaying editor window in a single click

 Figure 1: Displaying editor window in a single click.

Please refer to the example from the following GitHub link.

Example – Displaying editor window in a single click

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied