DayPilot.Scheduler.viewType

viewType (string)

Determines the vertical axis data source.

Possible values:

  • "Resources" uses the resources collection
  • "Days" shows one day (24 hours) per line (number of lines determined by days property).
  • "Gantt" creates one row for each event automatically

Default Value

"Resources"

Example

dps.viewType = "Days";

See also

  • Gantt Chart Tutorial (ASP.NET WebForms), includes a sample web project with C# and VB.NET source code