Tree-port view

Hi,
If I open a node which is at the end of the div(near the end of the div) in which the tree is rendered the child nodes appear with all the nodes not appearing on the visible area of the screen. The user does not understand that the node has expanded.How can i fix the problem?
P.S. : I do get the scroll-bar but the scroll-bar does not position itself at the right place.Also i see the same problem in the examples of the dhtmlx tree also.Please suggest a solution for me.
Thanks,
Abhishek

Hi,

Also i see the same problem in the examples of the dhtmlx tree also.

Please provide more details:

what samples ? (exactly)
what browser?
what tree version do you use ?

Locally this problem doesn’t occur

Hi,

what samples ? It appears in all samples for smart loading . For example if we use the following example :-

10_pro_smart_parsing.html
When i expand the node Top-4 it has some childs and now if i click on the child which is at the end of the div in my case it comes at child-8 the tree expands but all the child come under the div , the user getys no clue that the tree node has expanded.

what browser? Fire-fox, IE it appears in both.
what tree version do you use ? i am using version 2.5

Hi,

I didn’t get the problem for the first time.

You may try to use the following method to focus item after it is opened:

tree.attachEvent("onOpenEnd",function(id,state){ if(state) tree.focusItem(id); })