View Full Version : [2.??] TabPanel problem

1 Jul 2008, 7:26 AM
var mainTabPanel = new Ext.TabPanel({
region: 'north',
autoWidth: true,
//width: 360,
height: 450,
//title: ' ',
header: false,
activeTab: 0,
plain: true,
animScroll: true,
enableTabScroll: true,
tabPosition: 'bottom',



header: false,
tabPosition: 'bottom',
enableTabScroll: true

An error comes out:

this.header.dom has no properties ..... ext-all.js (line 86)
[Break on this error] Ext.TabPanel=Ext.extend(Ext.Panel,{monitorResize:true,deferredRender:true,tabWid...

1 Jul 2008, 7:28 AM
when i comment

//enableTabScroll: true

the error is gone.

1 Jul 2008, 7:33 AM
You use the header or title configs on a TabPanel.

2 Jul 2008, 6:31 AM
so i can not enbale tab scrolling when tab position is bottom without a TabPanel title? but really i don't need a title of TabPanel because i put a menu toolbar in the top of panel

2 Jul 2008, 6:35 AM
I don't think the released version supports tab scrolling when tabPosition is bottom. The next versin does IIRC.

The last post should have read you can not use header or title on a TabPanel.

The area header is used for teh tab strip.