Skip to main content
A newer version of this page is available. .

ASPxClientTreeList.SetFocusedNodeKey(key) Method

Moves focus to the specified node.

Declaration

SetFocusedNodeKey(
    key: string
): void

Parameters

Name Type Description
key string

A String value that uniquely identifies the node.

Remarks

The focused node feature is enabled when the TreeListSettingsBehavior.AllowFocusedNode property is set to true. Call the SetFocusedNodeKey method to move the focus to the required node.

Note: when the focus is changed programatically, the ASPxClientTreeList.FocusedNodeChanged event does not rise.

To learn more, see Focused Node.

See Also