TreeListBase.removeFocus

Syntax

removeFocus();

Description

The removeFocus method removes the current focus.

Example

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

// Set focus
Tree.setFocusedNode(2);
// Reset focus
Tree.removeFocus();

After executing the example the current focus is removed.

See also:

TreeListBase