隨筆-9  評論-168  文章-266  trackbacks-0
          new Ext.Panel({...
          tools:[{
              id:'refresh',
              qtip: 'Refresh form Data',
              // hidden:true,
              handler: function(event, toolEl, panel){
                  // refresh logic
              }
          }]
          ...})

          id : String
             Required. The type of tool to create. Values may betoggle (Created by default when collapsible is true)
          close
          minimize
          maximize
          restore
          gear
          pin
          unpin
          right
          left
          up
          down
          refresh
          minus
          plus
          help
          search
          save
          print
          handler : Function
              Required. The function to call when clicked. Arguments passed are:
          event : Ext.EventObject
              The click event.
          toolEl : Ext.Element
             The tool Element.
          Panel : Ext.Panel
             The host Panel
          scope : Object
             The scope in which to call the handler.
          qtip : String/Object
             A tip string, or a config argument to Ext.QuickTip.register
          hidden : Boolean
             True to initially render hidden.
          on : Object
             A listener config object specifiying event listeners in the format of an argument to addListener

          posted on 2009-05-25 13:18 紫蝶∏飛揚↗ 閱讀(1946) 評論(0)  編輯  收藏 所屬分類: EXTJS
          主站蜘蛛池模板: 小金县| 盐城市| 虹口区| 昌邑市| 肇东市| 合山市| 徐水县| 舟山市| 罗江县| 江安县| 石阡县| 东兴市| 郯城县| 新民市| 虹口区| 奈曼旗| 大化| 越西县| 鄢陵县| 洞头县| 抚顺市| 榆中县| 寻乌县| 区。| 耒阳市| 阜康市| 南安市| 崇信县| 聊城市| 千阳县| 泗洪县| 蓬溪县| 临漳县| 明水县| 鹿邑县| 凌云县| 云龙县| 康平县| 新巴尔虎左旗| 六安市| 嘉荫县|