Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sudeepti M on May 30, 2008 06:05
open dhtmlx forum
Find functionality with smartXMLParsing in dhtmlxtree. URGENT!!!!!!!

I am using smartXMLParsing for dynamic loading to build a huge tree.

tree.enableSmartXMLParsing(true);

tree.setXMLAutoLoading(url);

I am performing find functionality as soon as the page gets loaded.

Then the node found is highlighted but the scroll bar is not synchronously moved according to the position of the serach node found.

Please take this as high priority and suggest a solution so that the scroll bar is moved to show search node found.

Thanks in Advance





Answer posted by Support on May 30, 2008 06:08
If you are using
    tree.findItemIdByLabel(...
the component will just return ID of selected row

If you are using
    tree.findItem(
the component will select result item and scroll tree to show it.

The auto-scroll feature change state of inner scrolls only. If you have some other scrollable containers ( including scroll on tree container ) - they will not be updated.