\Kendo\UI\GanttEditable

A PHP class representing the editable setting of Gantt.

Methods

confirmation

If set to true the Gantt will display a confirmation dialog when the user deletes a task or a dependency.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->confirmation(true);
?>

create

If set to false the user won't be able to create tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->create(true);
?>

dependencyCreate

If set to false the user won't be able to create dependencies.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->dependencyCreate(true);
?>

dependencyDestroy

If set to false the user won't be able to delete dependencies.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->dependencyDestroy(true);
?>

destroy

If set to false the user won't be able to delete tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->destroy(true);
?>

dragPercentComplete

If set to false the user won't be able to edit the percentComplete of the tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->dragPercentComplete(true);
?>

move

If set to false the user won't be able to move tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->move(true);
?>

reorder

If set to false the user won't be able to reorder tasks in the task list.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->reorder(true);
?>

resize

If set to false the user won't be able to resize tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->resize(true);
?>

template

The template which renders the editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the Gantt will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.

Returns

\Kendo\UI\GanttEditable

Parameters

$value string |\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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

update

If set to false the user won't be able to update tasks.

Returns

\Kendo\UI\GanttEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->update(true);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy