How to hide time from Planned Start, Planned End, Start and End in Kendo UI for jQuery Gantt Chart Tooltip

1 Answer 38 Views
Gantt
Abhishek
Top achievements
Rank 1
Iron
Abhishek asked on 10 Nov 2023, 04:35 AM

Hi,

I want to hide TimeStamp from Planned Start, Planned End, Start, and End in Kendo UI for the jQuery Gantt Chart Tooltip.

Also if there is any way to completely hide/block time from Gantt as I want to work on days and weeks only without time.

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Nov 2023, 01:28 PM

Hi Abhishek,

You can use a template for the tooltip and format the dates as desired. Here is an example:

tooltip: {
    visible: true,
    template: kendo.template($("#tooltip-template").html())
  }
...
  <script id="tooltip-template" type="text/x-kendo-template">
    Title: #= task.title #
    </br>
    #= kendo.toString(task.start, 'D') #
    </script>

Dojo demo: https://dojo.telerik.com/umunEvUv

More about date formatting you can find in the following article:

Please let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Gantt
Asked by
Abhishek
Top achievements
Rank 1
Iron
Answers by
Nikolay
Telerik team
Share this question
or