Working with Trees > Classes > TreeListBase > TreeListBase.removeFocus
removeFocus();
The removeFocus method removes the current focus.
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: