The cornerText property (string) specifies the text displayed in the upper-left corner of the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.cornerTextDefault Value
""(empty string)
Notes
The corner is rendered during initial page load and during full update.
The
cornerTextvalue is HTML-encoded automatically.HTML content can be supplied using the cornerHtml property or the onBeforeCornerRender event handler.
During image export,
cornerTextis used even ifcornerHtmlis specified.
Examples
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"
<!-- ... -->
/>See Also
Upper-Left Corner [doc.daypilot.org]
DayPilot.Scheduler.onBeforeCornerRender
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot