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?