Search
TreeViewNode.addItem Method
See Also
 





Adds a new child item to the specified parent item or to the root items list, if a parent is not specified.

Namespace: MindFusion.Diagramming
File: TreeViewNode.js

 Syntax

JavaScript  Copy Code

function addItem (item, [parentItem])

 Parameters

item

TreeViewItem. The item to add.

parentItem
Optional.

TreeViewItem. The parent item.

 See Also