ext表格中其中6列分成两个选项卡,就是grid中嵌套选项卡怎么样搞定?

解决方案 »

  1.   

    我没理解错的话,楼主是不是说反了。应该是选项卡中嵌入表格吧。
     Ext.onReady(function () {            Ext.QuickTips.init();            // tab panel property
                new Ext.TabPanel({                
                    renderTo: 'tabpanel',
                    activeTab: 0,
                    defaults: { autoScroll: true },
                    items: [{
                            xtype: 'grid',
                            store: new Ext.data.Store({....}),
                            columns: [...]
                        },
                        {
                            xtype: 'grid',
                            store: new Ext.data.Store({....}),
                            columns: [...]
                        }
                    ]
                });            // end ext function
            });
      

  2.   

    关键找到位置,插入xtype:'tabpanel'的item就是了,全都是item而已