fires after a single view unit (column, section, day cell etc.) has been rendered in the scheduler

void onScaleAdd(HTMLElement unit,object date);
unitHTMLElementan HTML object of the related view unit
dateobjectthe date of the unit


scheduler.attachEvent("onScaleAdd", function (unit, date){
    //any custom logic here


Available views have different units:

  • Day view - a column with a day (the whole view);
  • Week view - a column with a day;
  • Month view - a cell with a day;
  • Units - a section;
  • Timeline - a section;
  • Year - a cell with a day.
Back to top