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

How to add bubble to event group?

Asked by Anonymous
2 years 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]
2 years 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
2 years 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]
2 years 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

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.