search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

toolTip not showing up

Asked by Doug D
5 years ago.

Why isn't the toolTip showing up for the event here?

http://pasted.co/4f7e148f

Answer posted by Dan Letecky [DayPilot]
5 years ago.

The toolTip is only displayed if a Bubble object (https://api.daypilot.org/daypilot-scheduler-bubble/) is not specified. In the current DayPilot Pro version, the bubble is initialized using a new DayPilot.Bubble object by default.

See also:
https://doc.daypilot.org/scheduler/event-tooltip/

There are two options:

1. Set dp.bubble to null to activate the tooltip:

var dp = new DayPilot.Scheduler("dp", {
  // ...
  bubble: null,
  //...
});

2. Use bubbleHtml instead of toolTip in the event data object. This will use the bubble to display the additional information on hover. This may be a better solution - the bubble supports HTML and its behavior can be customized (popup delay, appearance, animation...).

dp.events.list = [
  {
    // ...
    bubbleHtml:'Michael Meyers - SENG 6247 - 601 - SENG6247-Final Exam'
  }
];
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.