BootstrapClientTreeView.GetSelectedNode Method
In This Article
Returns the selected node within the Tree View control on the client side.
#Declaration
TypeScript
GetSelectedNode(): BootstrapClientTreeViewNode
#Returns
Type | Description |
---|---|
Bootstrap |
A Bootstrap |
#Remarks
If the ASPxTreeView.AllowSelectNode property is set to true, end-users are allowed to select nodes via mouse clicks. The selected node can be obtained on the client side by using the GetSelectedNode method. If there isn’t a selected node within a Tree View or selection is prohibited, the GetSelectedNode method returns null. In order to select a specific node on the client side, use the Tree View’s BootstrapClientTreeView.SetSelectedNode method.
See Also