Skip to main content
A newer version of this page is available. .

Focused Node

The ASPxTreeList provides the Focused Node feature. By default, this feature is disabled. To enable it, set the TreeListSettingsBehavior.AllowFocusedNode option to true.

cdFocusedNode

A focused node is identified by the ASPxTreeList.FocusedNode property. To move node focus in code, use the node’s TreeListNode.Focus method.

The focused node’s appearance can be specified using the style settings provided by the TreeListStyles.FocusedNode property.

 

Client-Side API

End-users move node focus by clicking the nodes they desire. To respond to changing node focus, handle the client-side ASPxClientTreeList.FocusedNodeChanged event. To identify a node currently being focused, use the Client-Side ASPxClientTreeList.GetFocusedNodeKey method. To move node focus, use the ASPxClientTreeList.SetFocusedNodeKey method.

 

Concepts

Member Table