Mistake in the Code

Posted by vibha on Stack Overflow See other posts from Stack Overflow or by vibha
Published on 2010-04-14T13:06:51Z Indexed on 2010/04/14 13:13 UTC
Read the original article Hit count: 306

Filed under:
myTree.on('click',function(node){
                 if(node.isLeaf())
                  {
                    Ext.Msg.alert("You are in value ",nodeValue,"whose name is",nodeName);
                    alert("You are in value ",nodeValue,"whose name is",nodeName);
                  }
             });

myTree is a TreePanel. I'm getting a tree but click function is not working. I'm very new to extjs. Help me out.

Thanks in advance

© Stack Overflow or respective owner

Related posts about extjs