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 |
|
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.
Note
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