PDA

View Full Version : in extjs4, when tabpanel change, tabpanel's showing have problem!



weige215
28 Aug 2012, 11:07 PM
i dynamically load iframe to tabpanel, but you click quickly next tabpanel, the previos tabpanel can't show. in extjs3, use layoutOnTabChange can solve the problem, but in extjs4, how to solve the problem?
the error's picture as Attachment?

scottmartin
29 Aug 2012, 6:25 PM
We will need more details ... please update the following to duplicate.



Ext.create('Ext.tab.Panel', {
width: 800,
height: 600,
activeTab: 0,
items: [
{
title: 'Tab 1',
bodyPadding: 10,
html : '<iframe src="http://www.sencha.com" width="100%" height="100%" ></iframe>'
},
{
title: 'Tab 2',
html : '<iframe src="http://www.html5.com" width="100%" height="100%" ></iframe>'
}
],
renderTo : Ext.getBody()
});?


Scott