PDA

View Full Version : Tab Panel issue extjs 4.07



dbloom
19 Apr 2012, 1:11 PM
1) I am using the ext.Tab.Panel and sucessfully create two tabs using the API as follows:


this.add(tab);
this.setActiveTab(tab);




2) However, I programatically close the second tab :


this.remove(cards[i], true);


3) When i perform the click to create the second tab like I did in step 1 again:


Uncaught TypeError: Cannot read property 'style' of undefined


Line 14768 in ext-debug.js

It happens on ie,chrome, and firefox.

Any HELP on why I am experiencing this problem?

Considering that its the second time through with the same tab, it has me puzzled.

As far as my specific scenario, its is essentially this example found here
http://www.jamiesutherland.com/2012/03/13/extjs-4-breadcrumbs-plugin-for-tab-panel/
(http://www.jamiesutherland.com/2012/03/13/extjs-4-breadcrumbs-plugin-for-tab-panel/)

dbloom
19 Apr 2012, 1:57 PM
replaced my Panel with a fresh file pretty much same content and it works. Pleas delete