开发者

How to expand a particular node in YUI treeview

I want to expand a particular node on click of a string in YUI. I have used YUI treeview and I am preparing a string of nodes that satis开发者_开发知识库fies search criteria.Now, I want to expand those nodes on click on each string .

Can anyone help me out. Thanks


You can use the focus() event, as it causes the node focused to automatically expand. There is also a method toggle(), which might help. http://developer.yahoo.com/yui/treeview/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜