excludeHolidays

allows including only working days in task duration

boolean excludeHolidays;

Example

webix.ui({
  view: "gantt",
  url: "https://docs.webix.com/gantt-backend/",
  // exclude holidays from task duration
  excludeHolidays: true 
});


Default value:

false

Related samples

Details

By default holidays and weekend days are included into task duration.

If you set excludeHolidays to true, tasks cannot fall on a holiday and will stretch up to the next working day in the chart. For example, if task starts on Friday and lasts 2 days it will stretch to Monday.

You can define any day to be a holiday via the isHoliday property.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.