Categories | Question details Back To List | ||
Find functionality in the tree which is built using smartXmlParsing The tree is in a div - <div id="treebox_tree" style="width: 400; height: 280; background-color: #FFFFFF; border :1px solid Silver; overflow: auto;"></div> I have tree with huge number of records. Hence iam uisng smartXmlParsing event to build the tree quickly. tree.enableSmartXMLParsing(true); For the first time , when i do search on load of the page, using findItem() method. The particular node is selected but the node is NOT scrolled to display on the screen. But when i do the search later, that is after i expand all the nodes and collapse i.e. data is completely loaded , the searched node is selected and scrolled and is shown on the screen. Please give me the solution to scroll the searched node at first time I Search. And let me know is this possible? Thanks in Advance
Answer posted by Support on May 30, 2008 10:37 You need to remove overflow:auto from tree's container, because it produce external scrolls <div id="treebox_tree" style="width: 400; height: 280; background-color: #FFFFFF; border :1px solid Silver; overflow:hidden; "></div> The both command selection and focusing executed against already parsed, so the functionality can't work only partially. |