VisibleNodesChange: function(sender, args);
sender. Event source.
args. Event information:
Nodes. Array of String. Array of node keys for displaying.
The VisibleNodesChange event occurs before displaying new nodes.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.VisibleNodesChange.add( function(sender, args) { console.log("VisibleNodesChange event:"); console.log(args); }); // Initialize event Tree.setNodeExpanded(0, true);
After executing the example the VisibleNodesChange event is added.
See also: