ExtJs 给树节点添加右键菜单
2010年6月3日
没有评论
很简单,查看ExtJs的API文档,找到TreePanel,然后找到contextmenu ,展开后,会看到如下内容,包括解释和例子!
contextmenu : ( Node node, Ext.EventObject e )
Fires when a node is right clicked. To display a context menu in response to this event, first create a Menu object (…
Fires when a node is right clicked. To display a context menu in response to this event, first create a Menu object (see Ext.menu.Menu for details), then add a handler for this event:
近期评论