cancel
Showing results for 
Search instead for 
Did you mean: 

Tree not Expanding after create

Former Member
0 Kudos

Hi all,

I have created a Tree component in Webdynpro. It is working fine. But the thing is when i add a new child to this tree the tree is not showing all its childs. It is in minimize mode (Not displaying childs).

Only the root node is displaying. I have to expand this manually. Is there any way to expand this tree automatically when i add a new child.

Pls any body help me out.

regards,

Sunil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sunil,

Create a attribute inside your parent node "isExpanded" of type boolean and set the value to true at the time of child element creation.

Also assign this attribute to the Expanded property of your node.

Regards,

Rajeev

Message was edited by: Rajeev Ranjan

former_member182372
Active Contributor
0 Kudos

Hi Sunil,

Set context attribute wich is bound to Tree Node Type`s property "expanded" to true for appropriate node element (parent for new created children).

Best regards, Maksim Rashchynski.