I am looking for a load listener , which, when the dropdown field is up, will be called load and get ajax for the server to accept the correct displayed value for combobox. But the load function is never called .. how can I fix it?
I want to display the text in front of the list, so I added an attribute fieldLabel: 'Save logs to:'. But the text is not displayed.
thanks yoni
this.log_save_combo = new Ext.form.ComboBox
({
store: ['Device', 'USB1', 'USB2']
, id: 'cplogs_log_save_combo'
, name: 'cplogs_log_save_combo'
, triggerAction:'all'
, fieldLabel: 'Save logs to:'
, editable: false
, listeners: {
'load': function(){
alert("in load function");
}
});
source
share