View Full Version : Combo Box not displaying

22 May 2010, 4:27 PM
I have created lots of combo boxes but the drop down selection list refuses to display in this case. The names are correct so there is no mismatch that I can see. The only difference compared to all the others that I have created is that the displayField and the valueField are the same.

Here is the code for the combo box.

fieldLabel:'Sponsorship Type',
triggerAction: 'all',
emptyText: 'Select Sponsorship Type...',
valueField: 'TSNAME',
displayField: 'TSNAME',
store: new Ext.data.JsonStore({
url: 'vvcall.pgm',
fields: ['TSNAME'],
root: 'APSTYPLA',
autoLoad: 'false',
baseParams: {
action: 'getComboStype',
pgm: 'apgetcombo'

Here is the response I get from Firebug, when it load the JsonStore.


Any hints as to why my drop down list does not display.

23 May 2010, 7:50 AM
I discovered what was wrong. The name of data store did not match my root name. The Y and P were transposed in my data store name that the server sent back.