The cellBubble property specifies the DayPilot.Bubble object used to display time cell details on hover in the JavaScript Scheduler component.
DayPilot.Scheduler.cellBubblenullAssign a DayPilot.Bubble instance to load custom time cell details when the user hovers over a grid cell.
JavaScript
const cellBubble = new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
args.html = cell.start + " " + cell.end + " " + cell.resource;
}
});
const dp = new DayPilot.Scheduler("dp", {
cellBubble: cellBubble,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
cellBubble: new DayPilot.Bubble({
onLoad: (args) => {
const cell = args.source;
args.html = cell.start + " " + cell.end + " " + cell.resource;
}
}),
// ...
};React
<DayPilotScheduler
cellBubble={cellBubble}
{/* ... */}
/>Vue
<DayPilotScheduler
:cellBubble="cellBubble"
<!-- ... -->
/>DayPilot.Scheduler.groupBubble
DayPilot.Scheduler.resourceBubble