2009-09-17 71 views
6

我有一个ExtJS按钮这样的:ExtJS的unpress按钮

new Ext.SplitButton({ 
    text: 'Index', 
    iconCls: 'index', 
    scale: 'large', 
    iconAlign: 'left', 
    cls: 'header-item', 
    handler: leftPanelNav, // handle a click on the button itself 
    menu: new Ext.menu.Menu({ 
     items: [ 
      // these items will render as dropdown 
      // menu items when the arrow is clicked: 
      {text: 'Item 1'}, 
      {text: 'Item 2'} 
     ] 
    }) 
}) 

他的国家将在同一时间内按下,我想知道我怎么能unpress它,当我从剧本想。

谢谢。按钮

+0

如何未压接劈扣是什么样子? – Lukman 2009-09-17 00:37:05

+0

它看起来像他的初始状态。 – 2009-09-17 10:03:48

回答