1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 |
Ext.onReady( function
() { var
tab = new
Ext.TabPanel({ renderTo: Ext.getBody(), height: 500 }) tab.add({ title: "tab1" , html: "content" }) tab.add({ id:Ext.id(), title: "tab2" , closable: true }) tab.activate(0); }) |
Extjs3.4--TabpanelDemo,布布扣,bubuko.com
原文:http://www.cnblogs.com/anbylau2130/p/3624052.html