ASPxClientTreeList.SelectNode(nodeKey) Method

Selects or deselects the specified node.

Declaration

SelectNode(nodeKey: string, state?: boolean): void

Parameters

Name Type Description
nodeKey string

A string value that identifies the node.

state boolean

true to select the node; otherwise, false.

Remarks

The SelectNode method searches for the specified node within nodes that are displayed within the current page. If the node was not found, the SelectNode does nothing.

To identify whether a node is selected, use the ASPxClientTreeList.IsNodeSelected method.

See Also