A newer version of this page is available. Switch to the current version.

JavaScript/jQuery TreeView Node

A TreeView node.

Type:

Object

This section describes the contents of a TreeView node object. Such objects can be accessed using the getNodes() method and within functions handling the events whose name begins with item....

See Also

children

Contains all the child nodes of the current node.

disabled

Equals to true if the node is disabled; otherwise false.

Type:

Boolean

See Also

expanded

Equals true if the node is expanded; false if collapsed.

Type:

Boolean

itemData

Contains the data source object corresponding to the node.

Type:

Object

See Also

key

Contains the key value of the node.

Type: any

See Also

parent

Refers to the parent node of the current node.

selected

Equals to true if the node is selected; false if not.

Type:

Boolean

text

Contains the text displayed by the node.

Type:

String

See Also