Displaying tooltip for column headers


#1

Hi Support,

   I need to display tooltips for column headers. this tooltip  can be in different for each and every column.

Thanks.
Rasagb


#2

Hello,
You can use tooltipFor method, which adds a tooltip for the specified Gantt element:
https://docs.dhtmlx.com/gantt/desktop__tooltips.html#tooltipfor ;
You can specify the CSS-selectors of the required Gantt element and create a template for a tooltip.
Please check the example where the column headers have different tooltips:
https://snippet.dhtmlx.com/zef01795


#3

Hi Support,

I added this and working fine. But the problem is in my Gantt there is 100 + columns. apply tooltip for for columns , the Gantt getting slow (scrolling/ editing). Is there any reason for this.

Thanks.
Rasagb


#4

Hello,
Probably, it should be related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, add your configuration in the snippet below and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/40tsh9uz?text=gan ;
Then, click on the Save button and send me the link. Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.