cancel
Showing results for 
Search instead for 
Did you mean: 

Tree scrolling problem

Former Member
0 Kudos

Hi to all,

I have a big tree and I need a way to scroll its content. That's why I have put the tree within a ScrollContainer. The problem comes when I expand the tree and try to select some of the bottom nodes (which have not been visible before scrolling to them). When I click such a node the vertical scroll bar is returned to its initial position, so that the node is again not visible. To click this node one more time I have to scroll to it again.

Is there any fix or workaround of this bug?

Thank you very much,

Antonio

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Antonio,

Can u tell me what action is triggered when a particular tree node element is clicked.

This problem might come because the page is getting refreshed when the particular action is triggered. I have used tree with scroll container for displaying different webpages in IFrameUI and in this i dont face this particular problem.

But when i created external window the pages where getting refreshed and the scroll bar was reset.

check if u have a similar situation like this.When the page is refreshed we cant do anything about the scroll containers initial position.

Regards

Lisha Peter

Former Member
0 Kudos

HI,

Please try this.

Conside node name is "TestCategory"

wdContext.nodeTestCategory().setSelected(wdContext

.nodeTestCategory()

.getLeadSelection(),true);

Regards, VIP