Extjs多个tab页面——panel层叠

来源:互联网 发布:js监听ios软键盘事件 编辑:程序博客网 时间:2024/06/06 05:32

Ext.define('YieldApp.view.YieldBottomView' ,{
    extend: 'Ext.panel.Panel',
    alias : 'widget.yieldbottomView',
    autoHeight : true,
    region: "center",
    border: false,
    frame: true,
    autoWidth: true,
    title: '产量统计分析列表',
    
    items: [{
                         xtype: 'tabpanel',
                         region: 'center',
                         id : 'yieldBottomPanel',
                         defaults: {
                            autoScroll: true,    //是否有滚动条
                            bodyPadding: 5
                         },
                         items: [
                            {
                                xtype: 'panel',
                                id : 'pmonth',
                                title: '按月份统计',
                                items: [{xtype : 'yieldmonthListView'}]
                            },
                           
                            {
                                xtype: 'panel',
                                title: '按季度统计',
                                items: [{xtype : 'yieldcountListView'}]
                            },
                            {
                                xtype: 'panel',
                                title: '日产值统计',
                                items: [{xtype : 'yielddayListView'}]
                            }
                        
                        ]
                     }]
});
0 0
原创粉丝点击