The cornerHtml property (string) specifies HTML rendered in the upper-left corner of the JavaScript Scheduler. In the browser, it overrides the cornerText value.
Declaration
DayPilot.Scheduler.cornerHtmlDefault Value
nullNotes
The corner is rendered during initial page load and during full update.
During image export, cornerText is used even when
cornerHtmlis specified.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
cornerHtml: DayPilot.Date.today().toString("yyyy"),
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
cornerHtml: DayPilot.Date.today().toString("yyyy"),
// ...
};React
<DayPilotScheduler
cornerHtml="<strong>2026</strong>"
{/* ... */}
/>Vue
<DayPilotScheduler
cornerHtml="<strong>2026</strong>"
<!-- ... -->
/>See Also
Upper-Left Corner [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot