ASPxClientTreeList.SetFocusedNodeKey(key) Method

Moves focus to the specified node.


SetFocusedNodeKey(key: string): void


Name Type Description
key string

A String value that uniquely identifies the node.


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