а

How to hide tooltip in the columns of Gantt Chart


#1

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)");

#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/31cd6ecd0
https://snippet.dhtmlx.com/1a69baea5

If you need something different, please, clarify.