开发者

adding a for into a tab using extjs

Kindly let me know how to add a form to开发者_运维技巧 a dynamically created tab in ExtJS??????????


myTab.add(myForm);
myTab.doLayout();


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜