0
折りたたみタブパネルを取得しようとしています。私はその後、 折りたたみタブ。パネルextjs
layout: 'border'
にした何をしたか...
Ext.define('MyProgram.view.main.Main', {
extend: 'Ext.tab.Panel',
xtype: 'app-main',
id: 'mainTabPanel',
listeners: {
afterrender: 'userAdmin',
},
requires: [
'Ext.plugin.Viewport',
'Ext.window.MessageBox',
'MyProgram.view.main.MainController',
'MyProgram.view.main.ReportView',
'MyProgram.view.main.MainModel',
'MyProgram.store.ProductDetailsStore',
'MyProgram.widgets.ProfileImage'
],
controller: 'MainController',
viewModel: {
type: 'main'
},
tabPosition: 'left',
tabRotation: 0,
collapsible: true,
header: {
title: { text: 'MyProgram' },
items: [{
xtype: 'profile-image'
}]
},
defaults: { iconCls: 'fa fa-list-ul' },
items: [{
title: '<span style="font-weight: bold;">Form</span>',
xtype: 'ReportView' //these are the tabs
}, {
title: '<span style="font-weight: bold;">Products</span>',
xtype: 'Blah',
}]
});