DayPilot.Gantt.useEventBoxes

Task box width alignment mode. 

Declaration

DayPilot.Gantt.useEventBoxes (string)

Possible Values

  • "Always"
  • "ShortEventsOnly" - the boxes will be aligned with cells for tasks shorter than one cell
  • "Never" 

Description

If task boxes are used, the event start and end is aligned with the cells (time slots). The real event length is then indicated by the duration bar.

Default Value

"Always"

Example

gantt.useEventBoxes = "ShortEventsOnly";

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java