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

init

Description

Это конструктор для создания экземпляра dhtmlxScheduler.

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

Parameters

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

Example

scheduler.init("scheduler_here",new Date(2010,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.