I’m writing a sample use tabview, and I want to add tabview dynamicly, but when I use addView api of tabview, It can’t add a new tabview, I seems not work fine.
I also learn the sample of tabview, but it use tabbar instead, and also have some bugs when I switch the tab,the releate view doesn’t show.
Could you please tell me how to use addView with tabview.
You can but it requires a bit more of code for now.
tabview is in fact combination of multiview and tabbar element, so you need to add the new view to multiview and new button to tabbar
Another question: in my code when you click tab ‘empty’,and then click ‘addTab’ button,it will add a new tab,but when you click the new tab,the layout seems have a little problem. My browser is Chrome(Version 31.0.1650.63 m)
I come across this post, is there anyway to display the content of dynamic tab without using Iframe?. i have other application using ext js having similiar behaviour, the performance is really bad.