DimTreeView.setFocusToElm

Syntax

setFocusToElm (elKey)

Parameters

elKey. Key of the element to be focused.

Description

The setFocusToElm method sets focus for a selected dictionary item in the tree.

Comments

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

Example

The example of use is given in description of the DimTreeView.deselectAll method.

See also:

DimTreeView