Search
ListViewBase.addItem Method
See Also
 





Adds an item to the list view.

Namespace: MindFusion.Diagramming
File: ListViewBase.js

 Syntax

JavaScript  Copy Code

function addItem (item, [caption, [locked, [inactive]]])

 Parameters

item

DiagramItem. The item to add.

caption
Optional.

String. The caption to display for the item.

locked
Optional.

Boolean. Indicates whether the item can be dragged.

inactive
Optional.

Boolean. Indicates whether the item can be selected.

 See Also