Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use ASPxClientTreeList.GetFocusedNodeKey to collapse and expand nodes in the client-side FocusedRowChanged event

$
0
0

This example demonstrates how to use the ASPxClientTreelist.GetFocusedNodeKey method to expand and collapse tree nodes based on the state of a node (“Collapsed” or “Expanded”). You can get the node state by calling the ASPxClientTreeList.GetNodeState(NodeKey)) method in the client-side FocusedNodeChanged event.

Demo limitation: if you close the topmost parent node and do not have other nodes except that one, you will have to expand this node by clicking the “expand” icon.


Viewing all articles
Browse latest Browse all 7205

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>