Disable tooltip showing when gantt lightbox is displayed


#1

I want to disable task tooltip show when the lightbox is displayed.

For example, if I doble click on a task, the lightbox is displayed, but the tooltip is displayed on background of the lightbox also. How to I disable the tooltip when lightbox is displayed?


#2

I try the example descript here

but, don’t work with gantt!

Is there another way?


#3

Hi @Adriano_Trentim_Augu!

You can call the hide() method of the tooltip extension in onLightbox event listener.
https://docs.dhtmlx.com/gantt/api__gantt_onlightbox_event.html

Here is a sample you can see how it can be implemented:
http://snippet.dhtmlx.com/3a5c1e591


#4

I trying this… but I’ve change de timeout time to open the tooltip and, in this case, the tooltip open occurs after the lightbox is already displayed.

In this case, the hide() is trigger before the tooltip open.

I need some function to cancelOpen or cancelTimeout, for example.

I’ve found a function $cancelTimeout on codebase, but I don’t know where can I access it.


#5

Look this, you can see with a db click on the task. The tooltip will be open after, on background of lightbox.

http://snippet.dhtmlx.com/8a26d163d