Skip to main content

itemsDraggable

info

The property works only in the org chart and mindmap modes. The moved item is dragged with all its children.

Description

Optional. Enables/disables dragging the item from one parent item to another

Usage

itemsDraggable?: boolean;

Default config

itemsDraggable: true

Example

const editor = new dhx.DiagramEditor(document.body, {
type: "org", // org" or "mindmap"
itemsDraggable: false
});

Change log: Added in v4.1