The timeHeaderBubble property (DayPilot.Bubble) specifies the bubble object used to show time header cell details on hover.
Available since 2025.3.6583.
Declaration
DayPilot.Scheduler.timeHeaderBubbleDefault Value
nullNotes
Assign a DayPilot.Bubble Class instance to show custom details for Scheduler time header cells.
If timeHeaderBubble is not null, the toolTip value specified in DayPilot.Scheduler.onBeforeTimeHeaderRender is ignored.
Examples
JavaScript
const timeHeaderBubble = new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
const date = cell.start.toString("M/d/yyyy");
args.html = `<div>${date}</div>`;
}
});
const dp = new DayPilot.Scheduler("dp", {
timeHeaderBubble: timeHeaderBubble,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
timeHeaderBubble: new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
const date = cell.start.toString("M/d/yyyy");
args.html = `<div>${date}</div>`;
}
}),
// ...
};React
<DayPilotScheduler
timeHeaderBubble={timeHeaderBubble}
{/* ... */}
/>const timeHeaderBubble = new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
const date = cell.start.toString("M/d/yyyy");
args.html = `<div>${date}</div>`;
}
});Vue
<DayPilotScheduler
:timeHeaderBubble="timeHeaderBubble"
<!-- ... -->
/>const timeHeaderBubble = new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
const date = cell.start.toString("M/d/yyyy");
args.html = `<div>${date}</div>`;
}
});See Also
DayPilot.Scheduler.onBeforeTimeHeaderRender
DayPilot.Scheduler.groupBubble
DayPilot.Scheduler.resourceBubble
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot