\Kendo\UI\GanttTooltip

A PHP class representing the tooltip setting of Gantt.

Methods

template

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Returns

\Kendo\UI\GanttTooltip

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$tooltip = new \Kendo\UI\GanttTooltip();
$tooltip->template('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$tooltip = new \Kendo\UI\GanttTooltip();
$tooltip->template(new \Kendo\JavaScriptFunction('function() { }'));
?>

visible

If set to false the gantt will not display the task tooltip. By default the task tooltip is displayed.

Returns

\Kendo\UI\GanttTooltip

Parameters

$value boolean

Example

<?php
$tooltip = new \Kendo\UI\GanttTooltip();
$tooltip->visible(true);
?>
In this article
Not finding the help you need?