隨筆-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
          主站蜘蛛池模板: 富锦市| 永仁县| 石狮市| 双流县| 宝丰县| 汝州市| 普格县| 青冈县| 祁东县| 寻甸| 通榆县| 南康市| 安义县| 德庆县| 旺苍县| 昭平县| 开平市| 田东县| 盐边县| 永安市| 泗水县| 海伦市| 游戏| 拉孜县| 新安县| 苗栗市| 雷州市| 淄博市| 杂多县| 常宁市| 平乡县| 阳江市| 融水| 南昌市| 城固县| 玉龙| 无锡市| 颍上县| 当阳市| 利川市| 江陵县|