단순 Tab구현
Ext.onReady(function(){
var tabs = new Ext.TabPanel({
renderTo: Ext.getBody(),
activeTab: 0,
items: [{
title: 'Tab 1',
html: 'A simple tab'
},{
title: 'Tab 2',
html: 'Another one',
closable:true
}],
plugins: new Ext.ux.TabCloseMenu()
});
})
close를 위한 lib include
sample: http://3pl.ezadmin.co.kr/extjs/tab_test.html
댓글 없음:
댓글 쓰기