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

How to add bubble to event group?

Asked by Anonymous
22 days ago.

Are you able to add a bubble to an event group?
Have read https://doc.daypilot.org/scheduler/concurrent-event-groups/

But I don't see any way to add a bubble to the automatic scheduler event groups, any help would be appreciated

Answer posted by Dan Letecky [DayPilot]
21 days ago.

You can enable a bubble for event groups using the groupBubble property:

https://api.daypilot.org/daypilot-scheduler-groupbubble/

There are two ways to specify the bubble content:

1. You can use onBeforeGroupRender event and set args.group.html.
2. You can handle the onLoad event of the DayPilot.Bubble object and set args.html.

Comment posted by Anonymous
18 days ago.

Hi there, thank you for the reply,

Changing args.group.html inside useBeforeGroupRender changes the text displayed on the event, not anything with the hover, and using the example in the API link you provided also does not seem to create a bubble on hover, any more information would be appreciated!

Comment posted by Dan Letecky [DayPilot]
18 days ago.

Sorry, for #1 you need to use args.group.bubbleHtml property instead of args.group.html.

Please note that groupBubble is available since version 2021.4.5139 - so make sure that you are using the latest version.
https://javascript.daypilot.org/daypilot-pro-for-javascript-2021-4-5139/

You can find an example in the demo:
https://javascript.daypilot.org/demo/scheduler/groupconcurrent.html

New Reply
This reply is
Your name (optional):