JAVA工具
          JAVA使用軟件 開發(fā)工具
          posts - 87,  comments - 9,  trackbacks - 0

          var viewport = new Ext.Viewport({

                              layout: 'border',

                              items: [

                new Ext.BoxComponent({

                    region: 'north',

                    el: 'north-div',

                   // tbar: tb,

                    height: 26

                }),

                new Ext.tree.TreePanel({

                    region: 'west',

                    contentEl: 'west-div',

                    title: '樹列表',

                    split: true,

                    width: 200,

                    minSize: 175,

                    maxSize: 400,

                    collapsible: true,

                    margins: '0 0 0 0',

                    root: root

                }),

                {

                    region: 'center',

                    layout: 'border',

                    items: [

                              new Ext.grid.GridPanel({

                                  region: 'center',

                                  el: 'center-center',

                                  title: '條目列表',

                                //  ds: ds,

                                 // cm: colModel,

                                  autoScroll: true

                              }),

                              {

                                  region: 'south',

                                  contentEl: 'center-south',

                                  title: '內容',

                                  split: true,

                                  collapsible: true,

                                  titlebar: true,

                                  height: 200,

                                  minSize: 100,

                                  maxSize: 400,

                                  collapsedTitle: '內容'

                              }

                       ]

                },

                new Ext.BoxComponent({

                    region: 'south',

                    el: 'south-div',

                    height: 24

                })

            ]

                          });

            <div id="north-div"><div id='toolbar-div'></div></div>

            <div id="west-div"></div>

                <div id='center-center'></div>

                <div id='center-south'></div>

            <div id="south-div">狀態(tài)欄</div>

           

          posted on 2011-08-24 11:02 王豪 閱讀(641) 評論(1)  編輯  收藏 所屬分類: EXT 筆記

          FeedBack:
          # re: ext 主頁面布局
          2014-03-18 20:15 | yangyi
          123467890dsudsju  回復  更多評論
            

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 平南县| 南乐县| 郑州市| 邻水| 盐池县| 淮北市| 禄劝| 嘉祥县| 镇康县| 灯塔市| 瑞丽市| 固安县| 平湖市| 文登市| 新乡县| 修武县| 逊克县| 慈利县| 仁化县| 临邑县| 德兴市| 巴彦淖尔市| 郸城县| 南昌县| 嘉荫县| 原阳县| 河曲县| 合山市| 启东市| 潞西市| 新建县| 广汉市| 阳高县| 博白县| 堆龙德庆县| 石棉县| 苗栗县| 淮安市| 伊春市| 古田县| 泗阳县|