DayPilot.Scheduler.cornerText

The cornerText property (string) specifies the text displayed in the upper-left corner of the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.cornerText

Default Value

""

(empty string)

Notes

  • 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.

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.cornerHtml

DayPilot.Scheduler.onBeforeCornerRender

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript