Scroll for div is not positioned for the selected Item

Hi,

Am using a treeview control inside div with vertical scroll bar loading folders & subfolders and providing an option to search the folders, to select the searched item am using focusItem() method, hence the searched folder is selected/focused correctly but the div scroll position remains at top everytime to see the selected/focused item i need to scroll through the div to the selected item manually.

is there any workaround to automatically set the scroll position of the div to view the selected item in the tree.

Please provide me a solution to fix this issue…

Unfortunately we cannot reproduce this issue locally. Can you please provide complete demo where we can reproduce it? You can find tutorial how to create complete demo here docs.dhtmlx.com/doku.php?id=othe … leted_demo