Version

Add and Remove Node Method API Reference (igTree)

Add and Remove Node Method Reference

Introduction

This topic provides reference information about the methods of the igTree™ control related to adding and removing nodes. The methods are listed alphabetically.

Add and Remove node methods reference chart

The following table explains the methods of add and remove igTree control and lists the default and recommended values.

Method Description
addNode Adds a new array of nodes to the tree. New nodes are appended to the root or to a specified parent node.
Argument name Usage
node Specifies the data for creating the new node.
parent Specifies the jQuery object of the parent node to which the nodes are to be appended.

removeAt Removes the node with the specified path and all of its children.
Argument name Usage
path Specifies the path of the node to be removed.

removeNodesByValue Removes all nodes with the specified value.
Argument name Usage
value Specifies the value of the nodes to be removed.

transactionLog Returns the transaction log stack.

Related Content

Topics

The following topics provide additional information related to this topic.

Samples

The following samples provide additional information related to this topic.

View on GitHub