How to remove expand on label click on TextNode YUI Treeview ?
Posted
by quilovnic
on Stack Overflow
See other posts from Stack Overflow
or by quilovnic
Published on 2010-05-02T10:24:03Z
Indexed on
2010/05/02
10:27 UTC
Read the original article
Hit count: 183
JavaScript
|yahoo
I want to expand the Node only on click on Icon not on the label.
With yahoo ui 2.7 :
selfCategoryTree.tree.subscribe("labelClick", function(node) { alert(node.data.customData.id + " label was clicked"); });
So I catch the labelClick , I show an alert, but the Node is expanded.
© Stack Overflow or respective owner