夢(mèng)幻之旅

          DEBUG - 天道酬勤

             :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            671 隨筆 :: 6 文章 :: 256 評(píng)論 :: 0 Trackbacks
          <2011年1月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          公告

          本博客中未注原創(chuàng)的文章均為轉(zhuǎn)載,對(duì)轉(zhuǎn)載內(nèi)容可能做了些修改和增加圖片注釋?zhuān)绻址噶四陌鏅?quán),或沒(méi)有注明原作者,請(qǐng)諒解

          常用鏈接

          留言簿(21)

          隨筆分類(lèi)(644)

          隨筆檔案(669)

          文章檔案(6)

          最新隨筆

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          /** row1 start  */
                                          
          {
                                              layout : 'column',
                                              border : 
          false,
                                              style : 'margin
          -top:1px',
                                              items : [
          {
                                                      columnWidth : .
          5,
                                                      layout : 'form',
                                                      border : 
          false,
                                                      items : [
          {
                                                              id : 'expandPanelProvinceCombox',
                                                              name : 'province',
                                                              xtype : 'combo',
                                                              fieldLabel : '省份',
                                                              store : 
          new Ext.data.SimpleStore({
                                                                  proxy : 
          new Ext.data.HttpProxy({
                                                                              url : 
          "/data/initSel.jspa?mapName=provinceMap"
                                                                          }
          ),
                                                                  fields : [
          "retrunValue""displayText"],
                                                                  autoLoad : 
          true
                                                              }
          ),
                                                              valueField : 
          "retrunValue",
                                                              displayField : 
          "displayText",
                                                              mode : 'remote',
                                                              forceSelection : 
          true,
                                                              hiddenName : 'province',
                                                              editable : 
          false,
                                                              triggerAction : 'all',
                                                              anchor : '
          95%',
                                                              listeners:
          {
                                                                  select:
          function(combo, record,index){
                                                                      
          var provinceCombox = Ext.getCmp("expandPanelProvinceCombox");
                                                                      
          var cityCombox = Ext.getCmp("expandPanelCityCombox");
                                                                      cityCombox.clearValue();
                                                                      cityCombox.store.load(
          {params:{parameter : provinceCombox.getValue()}}); 
                                                                  }

                                                              }

                                                          }
          ]
                                                  }
          {
                                                      columnWidth : .
          5,
                                                      layout : 'form',
                                                      border : 
          false,
                                                      items : [
          {
                                                              id: 
          "expandPanelCityCombox",
                                                              name : 'city',
                                                              xtype : 'combo',
                                                              fieldLabel : '城市',
                                                              store : 
          new Ext.data.SimpleStore({
                                                                  proxy : 
          new Ext.data.HttpProxy({
                                                                              url : 
          "/data/initSel.jspa?mapName=cityMap"
                                                                          }
          ),
                                                                  fields : [
          "retrunValue""displayText"],
                                                                  autoLoad : 
          false
                                                              }
          ),
                                                              valueField : 
          "retrunValue",
                                                              displayField : 
          "displayText",
                                                              mode : 'local',
                                                              forceSelection : 
          true,
                                                              hiddenName : 'city',
                                                              editable : 
          false,
                                                              triggerAction : 'all',
                                                              anchor : '
          95%'
                                                          }
          ]
                                                  }
          ]
                                          }
          posted on 2011-01-14 00:35 HUIKK 閱讀(1036) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): EXT
          主站蜘蛛池模板: 蓬莱市| 富裕县| 林甸县| 临桂县| 霍州市| 乐亭县| 榆树市| 清水河县| 五家渠市| 郸城县| 布拖县| 阳新县| 连州市| 大关县| 环江| 布尔津县| 尚义县| 杭州市| 定襄县| 张家川| 绥江县| 桐庐县| 通化市| 汉沽区| 威远县| 海南省| 阿尔山市| 潞城市| 丽江市| 孝昌县| 体育| 夏津县| 满洲里市| 大田县| 汾西县| 石狮市| 汝南县| 夏邑县| 福泉市| 汉中市| 桐庐县|