TreeListBase.FocusedNode

Syntax

FocusedNode: String;

Description

The FocusedNode property determines key of the focused node.

Comments

Use JSON or the setFocusedNode method to set the property value and the getFocusedNode method to get the property value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Determine focused node
Tree.Tree.setFocusedNode("2");

After executing the example the node with the 2 key is focused.

See also:

TreeListBase