reload of schedule in dhtmlxscheduler

when i reload the schedule by using " Scheduler.load(…)…" I am getting an error. It is : this._els.dhx_cal_data is undefined.

Can you please rectify it


to reload scheduler you can use the following:


scheduler.clearAll();


scheduler.load(…)