The cornerHtml property (string) sets the HTML rendered in the upper-left corner of the Gantt chart.
The corner is rendered during init() and during update().
Declaration
DayPilot.Gantt.cornerHtml
Default Value
""
Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
cornerHtml: "2015",
// ...
});
gantt.init();
Angular
<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
cornerHtml: "2015",
// ...
};
React
<DayPilotGantt
cornerHtml="2015"
{/* ... */}
/>
Vue
<DayPilotGantt cornerHtml="2015" <!-- ... --> />
See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot