The cornerHtml property (string) specifies HTML rendered in the upper-left corner of the JavaScript Scheduler. In the browser, it overrides the cornerText value.
DayPilot.Scheduler.cornerHtmlnullThe corner is rendered during initial page load and during full update.
During image export, cornerText is used even when cornerHtml is specified.
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>"
<!-- ... -->
/>Upper-Left Corner [doc.daypilot.org]