TreeListBase.FocusChanged

Syntax

FocusChanged: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The FocusChanged event occurs after changing focus.

Example

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

// Set event
Tree.FocusChanged.add( function(sender, args) {
  console.log("FocusChanged event:");
  console.log(args);
});
// Initialize event
Tree.setNodeFocused(0, true);

After executing the example the FocusChanged event is added.

See also:

TreeListBase