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
Package: TreeViewNode.js
JavaScript Copy Code |
---|
function addItem (item, [parentItem]) |
TreeViewItem. The item to add.
TreeViewItem. The parent item.
NetDiagram Programmer's Guide | © 2023 MindFusion |