GordS
05-24-2010, 12:33 PM
I have many combo boxes in this option. They load when I select the option. I only want them to load, if the user clicks on the drop down arrow.
Here is the code for the combo box.
xtype: 'combo',
id: 'edit_EAACTMANGR',
fieldLabel: 'Account Manager',
triggerAction: 'all',
emptyText: 'Select Account Manager...',
valueField: 'UMUSERNAME',
displayField: 'UMNAME',
store: new Ext.data.JsonStore({
url: 'vvcall.pgm',
fields: ['UMUSERNAME', 'UMNAME'],
root: 'APACTMGR',
autoLoad: 'false',
baseParams: {
action: 'getComboActMgr',
pgm: 'apgetcombo'
}
}),
mode: 'remote'
What do I change in this code, so that it only loads if the user wants to select any entry from the drop down list?
Here is the code for the combo box.
xtype: 'combo',
id: 'edit_EAACTMANGR',
fieldLabel: 'Account Manager',
triggerAction: 'all',
emptyText: 'Select Account Manager...',
valueField: 'UMUSERNAME',
displayField: 'UMNAME',
store: new Ext.data.JsonStore({
url: 'vvcall.pgm',
fields: ['UMUSERNAME', 'UMNAME'],
root: 'APACTMGR',
autoLoad: 'false',
baseParams: {
action: 'getComboActMgr',
pgm: 'apgetcombo'
}
}),
mode: 'remote'
What do I change in this code, so that it only loads if the user wants to select any entry from the drop down list?