init

a constructor of a dhtmlxScheduler object

void init(string|HTMLElement container, [Date date,string view] );
containerstring|HTMLElementan HTML container (or its id) where a dhtmlxScheduler object will be initialized
dateDatethe initial date of the scheduler (by default, the current date)
viewstringthe name of the initial view (by default, "week")

Example

scheduler.init("scheduler_here",new Date(2010,0,6),"month");

Related samples

Back to top