Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Radu Marian on Nov 04, 2008 08:57
open dhtmlx forum
Is there a way to auto scroll to a particular item? focusItem is too slow.

Is there a way to auto scroll to a particular item? focusItem is too slow when working on a tree that consist of 3000 nodes.
Answer posted by Support on Nov 04, 2008 09:49
There is only one way to focus programmatically - focusItem command
You can try to set scroll state directly ( if you know necessary position ) 
    tree.allTree.scrollTop=NN;