fires when the scheduler templates are initialized

void onTemplatesReady();


scheduler.attachEvent("onTemplatesReady", function(){
    //any custom logic here

Related samples


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.

Back to top