Перейти к основному содержимому

init

Description

Конструктор объекта dhtmlxScheduler

init: (container: string|HTMLElement, date?: Date, view?: string) => void

Parameters

  • container - (required) string | HTMLElement - HTML-контейнер (или его id), в котором будет инициализирован объект dhtmlxScheduler
  • date - (optional) Date - начальная дата планировщика (по умолчанию текущая дата)
  • view - (optional) string - имя начального вида (по умолчанию, "week")

Example

scheduler.init("scheduler_here", new Date(2027, 0, 6), "month");
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.