The columns property (array) specifies row header columns that will be displayed by the JavaScript Gantt Chart component.
Column object structure:
The property field will be used to load task data into the row cells. The Gantt control searches for the value in DayPilot.Task.data.tags first, then in DayPilot.Task.data.
The column cells can be further customized using onBeforeRowHeaderRender event.
gantt.columns = [ { title: "Name", width: 50, property: "text" }, { title: "Info", width: 50, property: "info" }, { title: "Duration", width: 50 } ]; gantt.tasks.list = [ { start: start, end: end, id: DayPilot.guid(), text: "Task " + i, tags: { info: "info text" } } ];