4.2.0 Beta: Content from TabPanel is not shown
Hello,
after changing to 4.2.0 beta the following code works no longer. The first tab is shown correctly - the second one is empty instead of all required code is loaded. There are no errors in the chrome console shown.
With 4.1.1 everything is working correctly.
PHP Code:
Ext.Loader.setPath('Ext.ux', 'system/extjs/examples/ux/');
Ext.require([ 'Ext.ux.RowExpander' ]);
Ext.define('AM.view.system.info' ,{
extend: 'Ext.panel.Panel',
alias : 'widget.system_info',
iconCls : 'settings',
title : 'Systeminformation',
closable: true,
tools:[{
type:'help',
qtip: 'Hilfe anzeigen',
handler: function(event, toolEl, panel){ id = 1; hilfe_aufruf(id);
}
}],
initComponent: function() {
this.items = [
{
xtype: 'tabpanel',
activeTab: 0,
items: [
{
title: 'Allgemein',
items: [
{
xtype: 'system_details',
nameColumnWidth : 170,
iconCls : '',
title : ''
}
]
},
{
title: 'Update History',
items: [
{
xtype: 'gridpanel',
store: 'nav.system_update',
columns: [
{text: 'Build kalkTOOL', flex: 1, dataIndex: 'prg_version', summaryType: 'count',
summaryRenderer: function(value){
return ((value === 0 || value > 1) ? '' + value + ' Patches' : '1 Patch');
}
},
{text: 'Kategorie', dataIndex: 'prg_kategorie'},
{text: 'Datum', dataIndex: 'prg_time_real', renderer: Ext.util.Format.dateRenderer('d.m.Y H:i')},
{xtype:'actioncolumn', width: 20,
items: [{
icon: 'system/icons/page_white_acrobat.png',
handler: function(grid, rowIndex, colIndex) {
this.fireEvent('show_pdf', this, grid, rowIndex, colIndex);
}
}]
}
],
viewConfig: {
stripeRows: true,
loadingText: 'Daten werden geladen...'
},
features: [{ftype:'groupingsummary',
groupHeaderTpl: '{name}',
startCollapsed: true,
enableGroupingMenu: false
}],
plugins: [{
ptype: 'rowexpander',
rowBodyTpl : [
'<p><b>Informationen zum Patch:<br><br></b> {prg_text}</p>'
]
}]
}
]
}
]
}
];
this.callParent(arguments);
}
});
Any tip is useful!
Thanks in advance!
Michi