Sending kod_kat_kerja to db:
extJS
1. hiddenName: '', //waji ader
var comboKategoriKerja = new Ext.form.ComboBox({
//id: 'id-col-kat-kerja',
name: 'kod_kat_kerja',
displayField: 'kategori_kerja',
valueField:'kod_kat_kerja',
hiddenName:'kod_kat_kerja', //wajib ade
typeAhead: true,
triggerAction: 'all',
store: KategoriKerjaStore,
fieldLabel: 'Kategori Kerja',
width: 350,
mode: 'remote',
forceSelection: true,
selectOnFocus: true,
emptyText :'--Sila Pilih--'
})
No comments:
Post a Comment