Kindly let me know how to add a form to a dynamically created tab in ExtJS??????????
A:
var tabpanel = new Ext.TabPanel({
activeTab: 0,
layoutOnTabChange: true,
items: [{
title: "A tab"
}]
});
var new_tab = new Ext.form.FormPanel({
title: "A form",
closable: true
});
tabpanel.add(new_tab);
Take a look at the examples though.
Lloyd
2010-05-05 13:58:31