Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Tree display

Hi , I have question in tree display.

When I refresh the tree(after any drag and drop or like so happens) in display, I need the tree to be displayed as it is before. I mean expanded nodes should be expanded and the closed nodes should be closed.

A , B , and C are the root nodes.

1,2,3 are childs of A,

4,5,6 are childs of B, and

7,8 are childs of C.

When tree is displayed first, A and B are expanded and C is closed. If I drag 4 from B and drop it on A, then the tree should get refreshed like :

Under A 1,2,3,4 and expanded

Under B 5,6 and expanded

Under C 7,8 and closed.

But in my tree display , all the root nodes are gets closed.

How can I achive this. Suggest me on this please....

Thanks and Regards,

Balakrishna.N

Tags:
replied

call method update_nodes then cl_gui_cfw=>flush().

but do not display tree again

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question