The onBeforeCornerRender event is called during update() and it lets you customize the content of the upper-left corner of the Scheduler component.
Available since 2019.3.3903.
DayPilot.Scheduler.onBeforeCornerRender(args)
args.control
- DayPilot.Scheduler instance
args.html
(string) - custom HTML
args.areas
(array) - custom active areas (available since 2020.2.4372)
Scheduler config:
{
onBeforeCornerRender: (args) => {
args.html = dp.visibleStart().toString("yyyy");
},
// ...
}