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. Image for the cookie policy date

Customize tooltip in Gantt Charts

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

1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon