cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh the tree node and elements

Former Member
0 Kudos

Hello,

I have created a recursive tree which is populated based on the valus selected in drop down UI element.

Code to generate tree is written in onSelect event of Drop down UI element.

I have to refresh the tree values as soon the value in drop down changes. In the current scenarion tree is not getting refreshed and it contains node and child from prevous tree herarchy also ,if I select new valus in drop down.

I want to delete previous tree entries in new valus is selected in drop down.

Can some one please help me which method should I use to clear old valus in tree?

Regards

Anurag

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

You must have binded a context node to the tree.

Invalidate this context node or bind a empty table to the node using

if_wd_context_node->bind_table( lt_table ).

Answers (0)