Gets or sets a value indicating whether drag and drop operations are allowed for this ListItem.
Namespace: MindFusion.Common.UI
File: ListItem.js
JavaScript Copy Code |
---|
get interactive() {} |
Boolean. true if drag and drop operations are allowed, otherwise false.
The following example creates a new ListItem and adds it to the items collection of a ListView control. It disables drag and drop for this item by setting interactive to false.
JavaScript Copy Code |
---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); listView.items.add(item); |