Articles in this section
Category / Section

How to open editor window in single click in JavaScript Scheduler?

4 mins read

This knowledge base explains the way to open editor window in single click in JavaScript Scheduler.

 

Step 1: Create a JavaScript 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



Conclusion

I hope you enjoyed learning about how to open editor window in single click in JavaScript Scheduler.
You can refer to our JavaScript Scheduler feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Scheduler example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


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