现在的位置: 首页 > 综合 > 正文

Ext.Viewport xtype 布局

2014年02月07日 ⁄ 综合 ⁄ 共 323字 ⁄ 字号 评论关闭
var view = new Ext.Viewport({
                    enableTabScroll: true,
                    layout: "border",
                    items: [

                        {
                            title: 'xxx',
                            collapsible: true,
                            html: "",
                            region: "west",
                            width: 200
                            , items: [tree_cmp]
                        }
                    , {
                        //title: 'xxx',
                       // html: "",
                        xtype: "tabpanel",
                      activeTab: 0,
                        region: "center",
                        items: [
                          {
                              layout: 'fit',
//                              region: "center",
//                              renderTo: Ext.getBody(),
                              title: "xxx",
                              items: [gridxxx] //

                                                            ,buttons: []

【上篇】
【下篇】

抱歉!评论已关闭.