View Full Version : Ext.tab.Tab added component

18 Jul 2013, 8:26 AM
Hello. I create the tabpanel dynamicly. I create the Ext.tab.Panel, after this I create the Ext.tab.Tab and use add method to add it to the TabPanel.

But after this i need to add component to the Tab. But Ext.tab.Tab does not contain add method. So my question is - how can i add component to the tab inside tabpanel?

18 Jul 2013, 7:19 PM
Ext.tab.Tab is just a re-styled button. It's used to switch between the child items of the TabPanel. You shouldn't need to create them yourself.

See this example for creating a TabPanel dynamically: