Skip to main content

ASPxClientTreeList.SetFocusedNodeKey(key) Method

Moves focus to the specified node.

#Declaration

TypeScript
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 focus to the required node.

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

To learn more, see Focused Node.

See Also