function getMhsSlta(){ /** STORES */ var ds_jslta = store_jslta(); var ds_stakrslta = store_stakrslta(); var ds_years = store_tahun(); /** FORM SLTA */ var fSlta = { //new Ext.form.FormPanel({ //{ xtype: 'panel', //'form', id: 'content.slta', layout: 'form', margin: '0 0 10', defaults: { labelWidth: 130, labelAlign: 'right' }, items: [{ xtype: 'fieldset', flex: 1, title: '', defaults: { labelWidth: 120, labelAlign: 'right', width: 150 }, items: [{ xtype: 'textfield', id: 'tf.nmslta', fieldLabel: 'Nama Sekolah', width: 550, //allowBlank: false }, RH.Lookup2Field({ label: 'Kota/Kabupaten', codeId:'lu.kdkotkabslta', nameId:'lu.nmkotkabslta', widths: [80,300], codeVisible: false, fnLookup: function(){wLookup(lu_kota, 'Kota/Kabupaten','lu.kdkotkabslta','lu.nmkotkabslta',500,350) } }), { xtype: 'combo', id: 'cb.jnslta', fieldLabel: 'Jenis SLTA', width:250, editable: false, //allowBlank: false, store: ds_jslta, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, },{ xtype: 'combo', id: 'cb.stakrslta', fieldLabel: 'Status Akreditasi', editable: false, //allowBlank: false, store: ds_stakrslta, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, },{ xtype: 'combo', id: 'cb.thlulusslta', fieldLabel: 'Tahun Lulus', editable: false, //allowBlank: false, store: ds_years, triggerAction: 'all', valueField: 'kode', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, },{ xtype: 'textfield', id: 'tf.nemslta', fieldLabel: 'NEM', allowBlank: true },{ xtype: 'textfield', id: 'tf.rankslta', fieldLabel: 'Rangking', allowBlank: true },{ xtype: 'textfield', id: 'tf.noijzslta', fieldLabel: 'No. Ijazah', width: 350, //allowBlank: false, editable: false },{ xtype: 'datefield', id: 'df.tgijzslta', fieldLabel: 'Tanggal Ijazah', value: new Date() }] }] }; //); return fSlta; }