Open topic with navigation

# TreeViewNode

## Oracle. TreeViewNode

A TreeViewNode object

Supported in LeanFT versions 14.52 and later.

# Constructor

## new TreeViewNode()

### Methods

## collapse() → {Promise.<void>}

Collapses the specified item in the tree.

Returns:

a promise that is fulfilled when the collapse operation ends.

Type
  Promise.<void>

## expand() → {Promise.<void>}

Expands the specified item in the tree.

Returns:

a promise that is fulfilled when the expand operation ends.

Type
  Promise.<void>

## path() → {string}

Returns the path to the node in the tree.

Returns:

the path to the node in the tree

Type
  string