What is defaultType: 'iframepanel' in extjs 2?

145 Views Asked by At

var tabs = new Ext.TabPanel({ region:'center', activeTab:0, id: 'main-column', margins: '10 10 10 0', enableTabScroll:false, resizeTabs:true, minTabWidth: 80, defaultType: 'iframepanel', defaults:{ closable:true, loadMask:{hideOnReady :false,msg:'Loading...'}, autoScroll : true, autoShow:true } });

1

There are 1 best solutions below

0
On

The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object.

Analogous to

defaults: {
    xtype: 'iframepanel'
}

Read more in the ExtJS 2 Docs.