custom view error

HI
Here is the code i added

scheduler.attachEvent(“onTemplatesReady”,function(){
scheduler.locale.labels.xmonth_tab = “3Month”
scheduler.date.xmonth_start = scheduler.date.month_start;
scheduler.date.get_xmonth_end = function (date) {
return scheduler.date.add(month, 3, “month”);
}

    scheduler.date.add_xmonth = function (date, inc) {
        return scheduler.date.add(month, inc * 3, "month");
    }
    scheduler.templates.xmonth_date = scheduler.templates.month_date;
    scheduler.templates.xmonth_scale_date = scheduler.templates.month_scale_date;
})

scheduler.init(“scheduler_here”, new Date(), “3Month”);

but am getting a wierd error on page
this._colsS is undefined
PLease help
its urgetn
Thanks

Hello,

Try changing

scheduler.init("scheduler_here", new Date(), "3Month");

to

scheduler.init("scheduler_here", new Date(), "xmonth");

Best regards,
Ilya