hey guys, i really need your help..
i have combo box with ds_bunga store looks like this:
kasus.jpg
table structure in Mysql looks like this:
id | nama_bunga | harga_satuan
, my question is how i can get "harga_satuan" value automatically into my "harga_satuan" field since i select "nama_bunga".
my friend tell me tu use "listeners", i dont really understand the concept.
this is my combo box code:
Code:
{
xtype: 'gridcolumn',
dataIndex:'nama_bunga',
selectOnFocus:true,
header: 'nama_bunga',
sortable: true,
width: 100,
editor: {
xtype: 'combo',
store:ds_bunga_faktur,
displayField:'nama_bunga',
valueField:'nama_bunga',
triggerAction:'all',
typeAhead:true,
mode:'local'
}
},
please help me guys