cancel
Showing results for 
Search instead for 
Did you mean: 

Remember tree expansion

Former Member
0 Kudos

Hi,

we have a tab strip and each tab includes his own web dynpro application.

One application has on the left side a tree. Depending whether the tree node is a node or leaf the data on the right side will change.

Now our problem: For example you change the tab when you had expand the tree in the third level and come back to the tab you will see the same data (for the third level) on the right side like before when you leave the tab.

That's what we want. Except the tree. It is always collapsed. What can we do, that the tree is in the some way expanded when we leave the tab?

Has somebody an idea?

Thanks, regards

Susanne

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Susanne,

You just have to save the last state of the tree.

You can add an attribute in the context meant for the tree whether the node is expanded or not (Boolean value).

You now have to bound the attribute to "expanded" property of the UI element.

Regards

Anurag Chopra

Former Member
0 Kudos

Thank you. Cause we didn't understand everythingl of your posting we searched with some keywords of your posting in the internet again. We found some entries and could manage it now.

Thanks again

Susanne

Former Member
0 Kudos

Hello Susanne,

I appreciate your feedback and would try to elaborate more in my replies.

Please inform, if you still face any issue.

Regards

Anurag Chopra

Answers (0)