EXTJS 按钮添加右键

The context menu is just floating menu, so just grab the context menu event and show the menu. Since the button doesn't have the contextmenu you can grab directly the htmlelement (or the Element wrapper) and listen to the contextmenu event

example

posted @ 2011-04-01 18:14  颜骨柳筋才大如海  阅读(272)  评论(0编辑  收藏  举报