editable.parent Boolean
(default: true)
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.
Example
<div id="orgchart"></div>
<script>
$("#orgchart").kendoOrgChart({
editable: {
parent: false
},
dataSource: [
{ id: 1, name: "Jane", title: "Boss", expanded: true },
{ id: 2, name: "John", title: "Lead", expanded: true, parentId: 1 },
{ id: 3, name: "Jill", title: "Worker", expanded: true, parentId: 2 },
{ id: 4, name: "James", title: "Worker", expanded: true, parentId: 2 },
]
});
</script>