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