Skip to main content

ASPxClientTreeList.SelectNode(nodeKey) Method

Selects or deselects the specified node.


    nodeKey: string,
    state?: boolean
): void


Name Type Description
nodeKey string

A string value that identifies the node.

state boolean

true to select the node; otherwise, false.


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.


The SelectNode method does not initiate a callback, so you need to initiate a callback to update parent nodes selection in the case of recursive selection.

See Also