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
Assembly: TreeViewNode.js
SyntaxJavaScript
Copy Code
|
|---|
function addItem (item, [parentItem]) |
TreeViewItem. The item to add.
TreeViewItem. The parent item.
See Also