setSelectedByKeys (keys, clearSelection, fireEvents);
keys. Array that contains keys of the nodes to be selected.
clearSelection. Determines if the previous selection must be removed. If this parameter is set to true, the previous selection is reset. By default the previous selection remains.
fireEvents. Determines if the TreeList.SelectionChanged event is generated on calling the method.
The setSelectedByKeys method sets selection for all tree nodes with specified keys.
The example of method use is given in description of the TreeList.EnableHighlight property.
See also: