?? resultpanel.js
字號:
function newResultPanel(){
//Ext.Msg.alert("","ResultPanel");
var resultPanel=new Ext.Panel({
id:"resultPanel",
layout:"card",
activeItem: 0,
layoutConfig: {
animate: true
}
});
var loRgResultPanel=new Ext.TabPanel({
id:"loRgResultPanel",
resizeTabs:true, // turn on tab resizing
minTabWidth: 0,
activeTab:0,
autoDestroy :true,
tabWidth:135,
enableTabScroll:true,//這個使得tab很多時可以滾動來顯示各個tab
defaults: {autoScroll:true},
plugins: new Ext.ux.TabCloseMenu()
});
//Ext.Msg.alert("","resultpanel1");
loRgResultPanel.add(new newLoRgSearchGrid("已登記場所信息")).show();
var unLoRgResultPanel=new Ext.TabPanel({
id:"unLoRgResultPanel",
resizeTabs:true, // turn on tab resizing
minTabWidth: 0,
activeTab:0,
autoDestroy :true,
tabWidth:135,
enableTabScroll:true,//這個使得tab很多時可以滾動來顯示各個tab
defaults: {autoScroll:true},
plugins: new Ext.ux.TabCloseMenu()
});
unLoRgResultPanel.add(new newUnLoRgSearchGrid("未登記場所信息")).show();
var professorResultPanel=new Ext.TabPanel({
id:"professorResultPanel",
resizeTabs:true, // turn on tab resizing
minTabWidth: 0,
activeTab:0,
autoDestroy :true,
tabWidth:135,
enableTabScroll:true,//這個使得tab很多時可以滾動來顯示各個tab
defaults: {autoScroll:true},
plugins: new Ext.ux.TabCloseMenu()
});
professorResultPanel.add(new newProfessorSearchGrid("專職人員信息")).show();
var noneProfessorResultPanel=new Ext.TabPanel({
id:"noneProfessorResultPanel",
resizeTabs:true, // turn on tab resizing
minTabWidth: 0,
activeTab:0,
autoDestroy :true,
tabWidth:135,
enableTabScroll:true,//這個使得tab很多時可以滾動來顯示各個tab
defaults: {autoScroll:true},
plugins: new Ext.ux.TabCloseMenu()
});
noneProfessorResultPanel.add(new newNoneProfessorSearchGrid("兼職人員信息")).show();
//Ext.Msg.alert("","resultpanel2");
//resultPanel.getLayout().setActiveItem(0);
resultPanel.add(loRgResultPanel);
resultPanel.add(unLoRgResultPanel);
resultPanel.add(professorResultPanel);
resultPanel.add(noneProfessorResultPanel);
return resultPanel;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -