Access dhtmlxTooltip object at window object level


#1

I am not able to hide dhtmlxTooltip even when mouse pointer is outside scheduler’s container.
Given that -

  1. scheduler’s height and width is lesser than 100%.
  2. Drag the mouse outside the scheduler container, inline with the events half displayed and half hidden in the current view.

So, is there a way to acces dhtmlxtooltip object on window object. So I can use hide() method to hide tooltip on mouseout event of scheduler container ?

find the image below.
the mouse is way out of scheduler container


#2

Hi,

Yes, there is

dhtmlXTooltip.hide();

method to hide the tooltip.
https://docs.dhtmlx.com/scheduler/tooltips.html#methods


#3

http://docs.dhtmlx.com/scheduler/snippet/9524e44b

could you please let me know, why tooltip is not hiding not hiding in above link,
when mouse exits from the left side of scheduler container.


#4

As you mentioned earlier, because

You need to check when the cursor is outside the Scheduler container and call dhtmlXTooltip.hide().


#5

I tried to create a demo for you. Toolltip hiding works properly in this demo:
http://snippet.dhtmlx.com/52010b0f5

But when I try to do the same in the Timeline view, I encounter any difficulties:
https://snippet.dhtmlx.com/98917e439

I need more time to investigate the problem.


#6

This works fine. check this.