Skip to content
DayPilot

Standard event tooltip not displaying

Asked by Anonymous
9 minutes ago.

Recently upgraded from version 2025.3.6564 to 2026.4.7164 (latest right now) and testing whether everything functions like it should.

The events have a tooltip which is configured inside the DayPilot.EventData object itself (using the “toolTip” property), in the older version this works as expected through the browser title attribute. As mentioned in the EventTooltip documentation the “config” property “bubble” is set to “undefined”. Hovering over an event does not show a tooltip in the latest version. Inspecting the difference in the rendered HTML between the old and upgraded version shows that the old version added the tooltip as a “title” attribute in the HTML, in the upgraded version this is missing (we want to use the title attribute for displaying the tooltips if possible).

I have tried a different configuration using the https://doc.daypilot.org/scheduler/event-tooltip/ information with the extra config properties and setting the tooltip in the “onBeforeEventRender” handler but this does not show any tooltip either.

I’ve gone through the release notes but I might have missed something specifically, or something in the configuration is still off that it won’t show the tooltip.

Config (minimal version), this is our functional config with the older version, has not been changed for the new release:

config: DayPilot.SchedulerConfig = {
    locale: this.culture,
    timeHeaders: [
      {
        groupBy: 'Hour',
      },
      {
        groupBy: 'Cell',
        format: 'mm',
      },
    ],
    scale: 'CellDuration',
    cellDuration: 30,
    cellWidthSpec: "Auto",
    cellWidthMin: 40,
    days: 1,
    startDate: this.startDate,
    businessWeekends: true,
    rowHeaderWidthAutoFit: false,
    rowHeaderWidth: 450,
    rowMinHeight: 90,
    rowMarginTop: 1,
    rowMarginBottom: 15,
    sortDirections: ['asc', 'asc', 'desc'],
    heightSpec: 'Max100Pct',
    bubble: undefined,
    dynamicEventRendering: 'Progressive',
    eventDoubleClickHandling: 'Enabled',
    onEventDoubleClick: (args) => this.dayPlanningEventHandlingService
      .eventDoubleClick(args, (message) => this.scheduler.control.message(message)),
    onBeforeEventRender: (args: DayPilot.SchedulerBeforeEventRenderArgs) => {
      this.onBeforeEventRender(args);
    },
    ...(other handlers that should not impact tooltips)
  };

The DayPilot.EventData object looks something like this. The “tooltip” is just a simple string description of an event:

{
      id: e.EventId,
      resource: e.LinkedResourceId,
      start: start,
      end: end,
      sort: [e.Order, start.toString(), end.toString()],
      text: '', // required property
      html: `<div class="day-planning-event-container">${eventData.html}</div>`,
      toolTip: eventData.tooltip,
      backColor: eventData.eventBackColor,
      cssClass: 'scheduler-day-planning-event ' + eventData.extraCss,
      line: "dedicated",
}

Any idea what could be missing/wrong in the config or potentially in the library?

No reply yet.

New Reply

This reply is
Attachments:
or drop files here