Kendo Gantt jQuery Ui : Change only Planned Start/End tooltip template

1 Answer 19 Views
Gantt ToolTip
gil
Top achievements
Rank 1
gil asked on 16 Jun 2021, 08:39 AM

In the documentation I found how to change the main tooltip for a task start/end. Actually I want to keep it.

But how could I change only the planned tooltip? 

1 Answer, 1 is accepted

Sort by
1
Neli
Telerik team
answered on 21 Jun 2021, 07:36 AM

Hello,

I am afraid that currently, the Gantt API does not provide a built-in configuration for customizing the planned tooltip.  I would propose logging a Feature Request item for it, which based on its popularity it could be included in our roadmap.

You could also try to show a Tooltip once the planned task is hovered:

 $(".k-task-moment, .k-task-duration").kendoTooltip({
        content: "Custom text"       
});

Here is a Dojo example where this is demonstrated. 

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

gil
Top achievements
Rank 1
commented on 21 Jun 2021, 12:31 PM

Thank you for your suggestion, I managed to have a customized tooltip now. But how can I unbind the existing one, apart from hiding it with css?
Neli
Telerik team
commented on 24 Jun 2021, 07:31 AM

Hi,

You could either hide the planned tooltip by using the '.k-planned-tooltip' class as in the example below:

.k-planned-tooltip { display:none }

Or the other option is to entirely set the tooltip visible option to false.

Regards,

Neli

Tags
Gantt ToolTip
Asked by
gil
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or