Ext 树 的右键事件怎么写呢?
[url]http://www.dojochina.com/index.php?q=node/1238[/url]
多用 google
http://www.iteye.com/topic/142800
http://www.blogjava.net/wangbing/archive/2009/06/11/281609.html
http://chen-xiao-mei2009-163-com.iteye.com/blog/373807
tree.on("contextmenu", showRightmenu);
function showRightmenu(node, event) {
node.select();// 将当前节点设置为选中状态
event.preventDefault();
nd = node.getDepth();
......
}
这个函数里面可以做什么你需要的了