We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Customize tooltip in Gantt Charts

Thread ID:





119966 Aug 19,2015 09:14 AM UTC Aug 20,2015 11:48 AM UTC JavaScript 1
Tags: ejGantt
Asked On August 19, 2015 09:14 AM UTC

Is it possible to customize the tooltip in gantt chart! If yes please tell me how to add own options in tooltip on gantt bar

Mahalakshmi Karthikeyan [Syncfusion]
Replied On August 20, 2015 11:48 AM UTC

Hi Gitesh,

For your kind information we can customize the Gantt chart tooltip with the help of “taskbarTooltipTemplateId”. We can design our own style for the tooltip using JsRender script template by passing the script id to this property.  Please refer the below code snippet for details.



        function _dateFormating(data) {

            return Globalize.format(this.data[data], "dddd , dd MMMM yyyy");


        var helpers = {};

        helpers["_treeGridDateFormatter"] = _dateFormating;





    <script type="text/x-jsrender" id="customTooltip">



            <p>starts on <b>{{:~_treeGridDateFormatter("startDate")}}</b> and ends on <b>{{:~_treeGridDateFormatter("endDate")}}</b></p>



    <script type="text/javascript">



            taskbarTooltipTemplateId: "customTooltip"




We have also prepared a sample based on this and you can find the sample under the following location.

Sample: http://jsplayground.syncfusion.com/ijlnlv3o

Please let us know if you need further assistance on this.


Mahalakshmi K.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon