onTemplatesReady
Description
Fires when the scheduler templates are initialized
onTemplatesReady: () => void
Example
scheduler.attachEvent("onTemplatesReady", function(){
//any custom logic here
});
Related samples
Details
The event informs that templates of the scheduler are ready.
It's a good practice to write the code of custom view creation in the handler of the onTemplatesReady event. It will guarantee that custom view's templates will be ready before scheduler initialization, and custom view will be correctly rendered on the page.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.