29 Dec 2011 3:41 AM #1
Help on ComboField (Listener Related)
combofield object with listener were created in panel container . Listener have select event.
These listener can i access from outside.ie..,in the panel itself ,i have to access the listener
Because i want to know which record i select from store of combofield object
any idea? please give me your suggestion.
29 Dec 2011 5:33 AM #2
I am not sure if I understood correctly what you meant to ask. If you want to get the value of the combo box at any time, you may use:
29 Dec 2011 6:05 AM #3
Thank you man but this thing knew.
i am not sure.i did't know access the listener
i want to get whole record.
i found solution
here code is
var combo =Ext.getCmp('combo_id');
Fname is displayField of combo object
you can access
rec.data.fieldname;(fieldname is store field )
Finally we got exact record of what we select from combo list