The Year view presents a single or more years of the calendar.
To add the Year view to the scheduler, follow these steps:
scheduler.plugins({
year_view: true
});
<div id="scheduler_here" class="dhx_cal_container" ...>
<div class="dhx_cal_navline">
...
<div class="dhx_cal_tab" name="year_tab" style="right:280px;"></div>
</div>
...
</div>
//'year_tab' is the name of our div
scheduler.locale.labels.year_tab ="Year";
To define the number of months in a row and a column, use the year_x and year_y properties:
//the Year view will display only 6 months
scheduler.config.year_x = 2; //2 months in a row
scheduler.config.year_y = 3; //3 months in a column