BootstrapClientTreeView.SetSelectedNode(node) Method
Selects the specified node within the Tree View control on the client side.
Declaration
SetSelectedNode(
node: BootstrapClientTreeViewNode
): void
Parameters
Name | Type | Description |
---|---|---|
node | BootstrapClientTreeViewNode | A BootstrapClientTreeViewNode object specifying the node to select. |
Remarks
If the ASPxTreeView.AllowSelectNode property is set to true, end-users are allowed to select nodes via mouse clicks. The Tree View also provides the ability to select nodes on the client side via code. You can use the SetSelectedNode method for this purpose. Note that only one node can be selected within an Tree View control at the same time.
To make none of the nodes selected within a Tree View control, pass null as the method’s parameter.
See Also