开发者

dijit Tree : finding treenode associated with new data store item

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜