How best to handle tooltip for year view when there are multiple events?


#1

In my year view it is possible for there to be multiple events on that day. I am setting my own tooltip_text, but I only get one event in the tooltip.

Is there some clever way to handle this I am missing?

Thanks!


#2

Hi,
If you add dhtmlxscheduler_tooltip.js extension, you can see 2 tooltips in Year view: http://prntscr.com/ltjzy3
Yes, the tooltip that occurs due to the extension, displays info only about one the first event. There is no in-built way to change it, you need to use default tooltip from this view to display info about all events.

To hide this extra tooltip from extension only in the year view, use the way from this snippet:
https://snippet.dhtmlx.com/4924a74ba
We will hide this tooltip in future versions in year view by default. It will be possible to use only the default one.

To change the tooltip text you can use year_tooltip template, find more info on the page:
https://docs.dhtmlx.com/scheduler/year_view_templates.html


#3

We will hide this tooltip in future versions in year view by default. It will be possible to use only the default one.

Any news on this one?