I want to highlight a programmatically inserted node. I'm inserting using store.newItem; this gives me a datastore item. To do the highlighting, I need a treenode. Can someone tell开发者_StackOverflow me how to find the treenode associated with the item?
Thanks, Larry
Tree.getNodesByItem()
It returns an array since there may be multiple TreeNodes for a given item, although usually there's just one.
精彩评论