editable.create Boolean
(default: true)
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.
Example
<div id="orgchart"></div>
<script>
$("#orgchart").kendoOrgChart({
editable: {
create: 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>