function getMhsTabs(){ var mhsTabs = { //new Ext.TabPanel({ //{ //Ext.widget('tabpanel', { //for Extjs-4 xtype: 'tabpanel', id: 'tabpanel-mhs', //deferredRender:false, //width: 800, //height: 500, // 475 kalo pake ToolBar-Menu //frame: true, defaults :{ bodyPadding: 10, autoScroll: true, frame: true }, activeTab: 0, items: [{ title: 'Data Pribadi', id: 'tab.personal', //forceLayout: true, //INI MAKSA LAYOUT, YG HBOX JADI INVISIBLE items: [getMhsPersonal()] //[fPersonal] },{ title: 'Orangtua/Wali', id: 'tab.ortu', //disabled:true, //to disable for selecting a tab items: [getMhsOrtu()] //[fOrtu] },{ title: 'Pendaftaran', id: 'tab.daftar', items: [getMhsDaftar()] //[fDaftar] },{ title: 'Asal SLTA', id: 'tab.slta', disabled:true, items: [getMhsSlta()] //[fSlta] },{ title: 'Asal P.T./Pindahan', id: 'tab.asalpt', disabled:true, items: [getMhsAsalPT()] //[fAsalpt] },{ title: 'Pekerjaan Mahasiswa', id: 'tab.pekerjaan', items: [getMhsJob()] //[fPekerjaan] },{ title: 'Alumni', id: 'tab.alumni', items: [getMhsAlumni()] //[fAlumni] }, { title: 'TA / Skripsi', id: 'tab_skripsi', items: [getMhsSkripsi()] //skripsi },/* ,{ title: 'Data Khusus S-3', id: 'tab.s3', items: [getMhsS3()] //[fData_s3] } */{ title: 'Lain-lain', id: 'tab.datalain', items: [getMhsLain()] //[fDatalain] }] };//); return mhsTabs; }