Categories | Question details Back To List | ||
Find is not working in Tree with JSON data Hello, I have to show large amount of data in tree with JSON so, I am using ‘enableSmartXMLParsing’ for performance. I have enabled find with ‘findItem’ but find is not working on leaf levels. There seems to be an issue with ‘findItem’ function when we use ‘enableSmartXMLParsing’. As we know that in this case only the first level tree is rendered and children are loaded when a particular node is expanded. In this case when the findItem function is used and the search result points to a treeNode which has not yet rendered, we get Javascript error(Message: 'this.item' is null or not an object - Line: 201 -Char: 14 - Code: 0). The correct implementation of this should be as, when ‘enableSmartXMLParsing’ is enabled and findItem function is used, is the search result returns treenode which is not yet rendered, then the tree should first find the path from root node to the treenode which needs to be selected and expand all the nodes in that path before selecting the treenode. And, I want to change all leaf level text color when the tree is loading. Please let me know your thoughts and questions. Thanks, RamaRao R. Answer posted by Alex (support) on Nov 18, 2009 06:17 Hello, the fix was sent by email. |