\Kendo\UI\OrgChartEditable
A PHP class representing the editable setting of OrgChart.
Methods
create
Allows the user to create new items as children of existing ones. If set to false, creating new items will not be available in the item edit pop-up menu.
Returns
\Kendo\UI\OrgChartEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\OrgChartEditable();
$editable->create(true);
?>
destroy
Allows the user to delete items. If set to false, delete item will not be available in the item edit pop-up menu.
Returns
\Kendo\UI\OrgChartEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\OrgChartEditable();
$editable->destroy(true);
?>
fields
Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.
Returns
\Kendo\UI\OrgChartEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\OrgChartEditable();
$editable->fields(true);
?>
form
A kendo.ui.Form configuration object that allows customization of the Form on the pop-up editor.
Returns
\Kendo\UI\OrgChartEditable
Parameters
$value ``
parent
Allows editing the structure (id/parentId relation). If the parentId has also configuration in the form configuration object, the editable.parent value will be taken into account. If set to false, editing the id/parentId relation will not be available.
Returns
\Kendo\UI\OrgChartEditable
Parameters
$value boolean
Example
<?php
$editable = new \Kendo\UI\OrgChartEditable();
$editable->parent(true);
?>