setFocusToElm (elKey)
elKey. Key of the element to be focused.
The setFocusToElm method sets focus for a selected dictionary item in the tree.
If the specified element is not available in the tree, the method tries to load dimension to this element.
To get element key by specified index, use the following:
dimTree.getControl()._Nodes[1].Key
The example of use is given in description of the DimTreeView.deselectAll method.
See also: