DayPilot.Scheduler.cornerHtml

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

Default Value

null

Notes

  • The corner is rendered during initial page load and during full update.

  • During image export, cornerText is used even when cornerHtml is 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]

DayPilot.Scheduler.cornerText

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript