The init() method initializes and renders the Gantt component.
DayPilot.Gantt.init();// HTML: <div id="gantt-div"></div>
const gantt = new DayPilot.Gantt("gantt-div", {
tasks: [
{
start: "2034-10-01",
end: "2034-10-03",
id: 1,
text: "Task 1",
tags: {
info: "info text"
}
}
],
// ...
});
gantt.init();