Hi,
I am using XAMOrgChart in my application. all working fine but issue is there is 4 or 5 level of parent to child hierarchy and on clicking some data in grid which opens xamorgchart all nodes open by default though we need to open only 1 level of hierarchy. is there any way to collapse at particular node? I didn't find any property which by defaults collapsed in
OrgChartNodeLayout. please suggest.
Regards
Hitesh
Hello Hitesh,
By default the nodes are expanded on load. You can change that behavior by iterating through the collection of child nodes and set the IsExpanaded property to false. Here is a forum thread on the same http://es.infragistics.com/community/forums/p/60165/305461.aspx. To expand only a single level of nodes the LevelsToExpand property should be set to “1”.
Let me know if you need further assistance on this.