The cornerText property (string) specifies the text displayed in the upper-left corner of the JavaScript Scheduler.
DayPilot.Scheduler.cornerText""(empty string)
The corner is rendered during initial page load and during full update.
The cornerText value is HTML-encoded automatically.
HTML content can be supplied using the cornerHtml property or the onBeforeCornerRender event handler.
During image export, cornerText is used even if cornerHtml is specified.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
cornerText: DayPilot.Date.today().toString("yyyy"),
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
cornerText: DayPilot.Date.today().toString("yyyy"),
// ...
};React
<DayPilotScheduler
cornerText="2026"
{/* ... */}
/>Vue
<DayPilotScheduler
cornerText="2026"
<!-- ... -->
/>Upper-Left Corner [doc.daypilot.org]