function getMhsAlumni(){ /** STORES */ var ds_mhsjob = store_mhsjob(); var ds_status = store_status(); var ds_years = store_tahun(); /** FORM ALUMNI */ var fAlumni = { //new Ext.form.FormPanel({ xtype: 'panel', //'form', id: 'content.alumni', //layout: 'hbox', layout: 'form', margin: '0 0 10', defaults: { labelWidth: 150, labelAlign: 'right' }, items: [{ xtype: 'fieldset', flex: 1, title: '', defaults: { labelWidth: 130, xtype: 'textfield', width: 570, labelAlign: 'right' }, items: [{ xtype: 'combo', id: 'status_alumni', fieldLabel: 'Status', width: 100, editable: false, //allowBlank: false, store: ds_status, triggerAction: 'all', valueField: 'idstatus', displayField: 'nmstatus', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { xtype: 'combo', id: 'cb.idjob-alumni', fieldLabel: 'Pekerjaan', width: 300, editable: false, //allowBlank: false, store: ds_mhsjob, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { id: 'tf.tpjob-alumni', fieldLabel: 'Nama Tempat Bekerja' }, { xtype: 'textarea', id: 'tf.alamatjob-alumni', fieldLabel: 'Alamat Tempat Bekerja', width: 400, height: 70 }, { id: 'tf.jabjob-alumni', fieldLabel: 'Jabatan' },{ xtype: 'combo', id: 'cb.thout-alumni', fieldLabel: 'Tahun Keluar', width: 100, editable: false, //allowBlank: false, store: ds_years, triggerAction: 'all', valueField: 'kode', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, width:100, }, { id: 'notranskrip', fieldLabel: 'No Transkrip' }, { id: 'noijazah', fieldLabel: 'No Ijazah' }, { id: 'ketua_yayasan', fieldLabel: 'Ketua Yayasan' },{ xtype: 'datefield', id: 'tglijazah', fieldLabel: 'Tgl. Ijazah', value: new Date(), width:100, }, { xtype: 'datefield', id: 'df.tglulus-alumni', fieldLabel: 'Tgl. Kelulusan', value: new Date(), width:100, }, { xtype: 'combo', id: 'pimpinan1', fieldLabel: 'Pimpinan', width: 300, editable: false, //allowBlank: false, store: ds_pimpinan, triggerAction: 'all', valueField: 'idpimpinan', displayField: 'nmpimpinan', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { xtype: 'datefield', id: 'tgltandatangan', fieldLabel: 'Tgl. Tandatangan', value: new Date(), width:100, } ] }] }; //); return fAlumni; }