is it possible to Hide tooltip in the left columns of the Gantt chart and only make them visible for grid elements?
i tried the following and none has worked
gantt.ext.tooltips.detach("["+gantt.config.task_attribute+"]:not(.gantt_row)");
gantt.ext.tooltips.detach("["+gantt.config.task_attribute+"]:not(.gantt_row_task)");
gantt.ext.tooltips.detach("["+gantt.config.task_attribute+"]:not(.gantt_cell)");
gantt.ext.tooltips.detach("["+gantt.config.task_attribute+"]:not(.gantt_tree_content)");
ramil
#2
Hello Chris,
Unfortunately, it is not clear for me where you what to show the tooltip.
Here are the elements that you listed:
The grid consists of those elements. To illustrate, here is the screenshot where I hid those elements for the first row:
If you don’t want to show the tooltip over the grid at all, you can detect if the mouse is over the grid and change the tooltip_text
. Or you can return ''
for the .gantt_row
class.
Here are the examples:
https://snippet.dhtmlx.com/1a69baea5
Gantt 4.x-6.3.x:
http://snippet.dhtmlx.com/5/2a0468d9f
Gantt 7.0+:
http://snippet.dhtmlx.com/5/ad36aabfa
If you need something different, please, clarify.
1 Like