function headerProdiSmt(arg){ /* arg : idcb_prodi : idcb_prodi, idcb_stsmt : idcb_stsemester, cb_prodi_width : cb_prodi_width, cb_stsmt_width : cb_stsmt_width, space: space, fnReload : function(){reloadGridMatkul();} */ var space = (arg.space)? arg.space : 0; var ds_prodireg = store_prodireg(); var ds_stsmt = store_stsmt(); var header = { xtype: 'fieldset', flex: 1, items:[{ xtype: 'container', layout: 'hbox', items:[{ layout:'form', labelWidth:90, labelAlign:'right', items: [ RH.ActionCombo({ id: arg.idcb_prodi, label: 'Program Studi', width: arg.cb_prodi_width, data: ds_prodireg, key: 'kdprodi', display: 'lnmprodi', fnSelect: arg.fnReload }) ] },{ layout:'form', labelWidth:70+space, labelAlign:'right', items: [ RH.ActionCombo({ id: arg.idcb_stsmt, label: 'T.A - Smt', width: arg.cb_stsmt_width, data: ds_stsmt, key: 'kdstsemester', display: 'nmsmt', fnSelect: arg.fnReload }) ] },//{ //layout:'form', //labelWidth:100+space, labelAlign:'right', //items:[ (arg.extracomp)?arg.extracomp: {}//] //} ] }] }; return header; }