\Kendo\UI\GanttEditable
A PHP class representing the editable setting of Gantt.
Methods
clickMoveClick
If set to true (default), when there is a drag column for the items in the TreeList part of the Gantt, the user will be allowed to reorder rows via click move click interaction as an alternative of the drag and drop one.
Returns
\Kendo\UI\GanttEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->clickMoveClick(true);
?>
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);
?>
plannedTasks
If set to true the default pop-up editor of the Gantt will render the plannedStart and plannedEnd editors for the edited task.
Returns
\Kendo\UI\GanttEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\GanttEditable();
$editable->plannedTasks(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);
?>