The startDate property sets the visible range start in the JavaScript Gantt Chart component. In addition to DayPilot.Date object, it also accepts a string in ISO 8601 format ("2028-01-01T00:00:00"
).
If not specified, the start date of the first (earliest) task will be used.
null
Using DayPilot.Date object:
{
startDate: DayPilot.Date.today().addDays(5),
// ...
}
Using ISO 8601 date string:
{
startDate: "2028-01-01",
// ...
}