1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Question Problem rendering drop-down with more than 300 options.

    Problem rendering drop-down with more than 300 options.


    I have a drop-down in a grid which is populated using a remote store.

    However, when the drop-down has more than 300 options, the options are not rendered at all.

    Has anyone faced such a problem? What could be the reason?

    Thanks.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,507
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    You need to thionk about your UI design.

    How annoyed would you be if you were asked to scroll through 300 options to get to the one
    you want?

    I'd just leave the page and never return.

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    94
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    I'd replace the Store with a PagingStore and set the pageSize of the ComboBox to 20 (at most!).

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,358
    Vote Rating
    127
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    shr -

    I would definitely consider the UI suggestions which Animal and Condor have suggested above.

    But getting down to the issue, if you limit those 300 options to a smaller set (say 50 options) does the Combobox work properly? Could you post a screenshot of what occurs?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    aconran,

    Here's the JSON being fetched by the store for the combo box:
    Code:
    {options: [{text:'',value:''},{text:'A-H G.Flor fxrte vs NLG1.20',value:'952'},{text:'AFGHANISTAN AFGHANI',value:'AFN'},{text:'ANDORRA FRANC (*)',value:'AFS'},{text:'Afghani',value:'AFA'},{text:'Algerian Dinar',value:'DZD'},{text:'Andorran Peseta',value:'ADP'},{text:'Angolan Kwanza (old) ISO = AOA',value:'984'},{text:'Arab Accounting Dinar',value:'AAD'},{text:'Argentine Peso',value:'ARS'},{text:'Armenian Dram',value:'AMD'},{text:'Aruban Guilder',value:'AWG'},{text:'Austral',value:'ARA'},{text:'Austral (old)',value:'83'},{text:'Australian Cent',value:'AUd'},{text:'Australian Dollar',value:'AUD'},{text:'Australian Dollar (f.rate)',value:'927'},{text:'Austrian Crown (old)',value:'96'},{text:'Austrian Florin (old)',value:'98'},{text:'Austro-Hungarian Crown (old)',value:'954'},{text:'Austro-Hungarian Florin (f.rate)',value:'953'},{text:'Azerbaijan Manat Comm (*)',value:'AJS'},{text:'Azerbaijanian Manat (new)',value:'913'},{text:'Azerbaijanian Manat-New',value:'AZN'},{text:'Azerbaijanian Manat-Old',value:'AZM'},{text:'BELARUS RUBLE COMMER',value:'BYS'},{text:'BOLIVIAN BOLIANOS',value:'BOL'},{text:'BOUVET IS KRONE (*)',value:'BIS'},{text:'BRAZILIAN CENTAVOS',value:'BRl'},{text:'BULGARIAN LEV',value:'LEV'},{text:'Bahamian Dollar',value:'BSD'},{text:'Bahraini Dinar',value:'BHD'},{text:'Bahraini Fils',value:'BHX'},{text:'Bahraini Fils',value:'BHf'},{text:'Baht',value:'THB'},{text:'Baiza Omani',value:'OMX'},{text:'Baiza Omani',value:'OMb'},{text:'Balboa',value:'PAB'},{text:'Barbados Dollar',value:'BBD'},{text:'Belarus Ruble',value:'BYB'},{text:'Belarussian Ruble',value:'BYR'},{text:'Belarussian Ruble (Inflation-adjusted) ',value:'BYI'},{text:'Belarussian Ruble (old)',value:'700'},{text:'Belgian Franc (pre-euro)',value:'BEF'},{text:'Belgium Fin Convention prices',value:'122'},{text:'Belize Dollar',value:'BZD'},{text:'Bermudian Dollar',value:'BMD'},{text:'Bilateral Burundi Belgian Franc',value:'BEB'},{text:'Bilateral Rwanda Belgian Franc',value:'BER'},{text:'Bolivar Fuerte  ',value:'VEF'},{text:'Bolivar(old)',value:'VEB'},{text:'Bolivian UF',value:'BOF'},{text:'Bolivian Unidad de Fomento de Vivienda',value:'UFV'},{text:'Boliviano',value:'BOB'},{text:'Bosnia-Herze Conv. Mark',value:'BAK'},{text:'Botswana Thebe',value:'BWp'},{text:'Brazilian Real',value:'BRL'},{text:'Brunei Dollar',value:'BND'},{text:'Bulgarian Lev',value:'BGN'},{text:'Burundi Franc',value:'BIF'},{text:'CFA Franc BCEAO',value:'XOF'},{text:'CFA Franc BEAC',value:'XAF'},{text:'CFP (old)',value:'670'},{text:'CFP Franc',value:'XPF'},{text:'COLOMBIAN UVR',value:'CUV'},{text:'COSTA RICAN COLON',value:'CLN'},{text:'Canadian Cent',value:'CAd'},{text:'Canadian Dollar',value:'CAD'},{text:'Canadian Dollar (f.rate)',value:'907'},{text:'Cape Verde Escudo',value:'CVE'},{text:'Cayman Islands Dollar',value:'KYD'},{text:'Cedi(old)',value:'GHC'},{text:'Chilean Peso',value:'CLP'},{text:'Code For No Currency Transactions',value:'XXX'},{text:'Codes specifically reserved for testing',value:'XTS'},{text:'Colombian Peso',value:'COP'},{text:'Colombian Unidad de Valor Real',value:'COU'},{text:'Comoro Franc',value:'KMF'},{text:'Convertible Franc',value:'BEC'},{text:'Convertible Franc',value:'LUC'},{text:'Convertible Franc (old)Belgium',value:'121'},{text:'Convertible Franc (old)Luxembourg',value:'578'},{text:'Convertible Marks',value:'BAM'},{text:'Convertible Peseta (old)',value:'309'},{text:'Copper (B)',value:'XCU'},{text:'Cordoba',value:'NIC'},{text:'Cordoba (old)',value:'34'},{text:'Costa Rican Colon',value:'CRC'},{text:'Costa Rican Unidades de Desarrollo',value:'CRU'},{text:'Croatian Dinar (old)',value:'978'},{text:'Croatian Kuna',value:'HRK'},{text:'Cruzado',value:'BRC'},{text:'Cruzado (old)',value:'151'},{text:'Cruzeiro',value:'BRE'},{text:'Cruzeiro',value:'BRB'},{text:'Cruzeiro (old)',value:'152'},{text:'Cruzeiro Novo (old)',value:'150'},{text:'Cruzeiro Real',value:'BRR'},{text:'Cruzeiro Real (old)',value:'153'},{text:'Cuban Peso',value:'CUP'},{text:'Cyprus Pound(old)',value:'CYP'},{text:'Czech Koruna',value:'CZK'},{text:'DOMINICAN PESOS',value:'DMP'},{text:'Dalasi',value:'GMD'},{text:'Danish Crown (f.rate)',value:'919'},{text:'Danish Krone',value:'DKK'},{text:'Danzig Florin (old)',value:'276'},{text:'Denar',value:'MKD'},{text:'Deutsche Mark (f.rate)',value:'901'},{text:'Deutsche Mark (pre-euro)',value:'DEM'},{text:'Dinar',value:'HRD'},{text:'Dinar',value:'BAD'},{text:'Djibouti Franc',value:'DJF'},{text:'Dobra',value:'STD'},{text:'Dominican Peso',value:'DOP'},{text:'Dong',value:'VND'},{text:'Drachma (pre-euro)',value:'GRD'},{text:'ECP',value:'ECP'},{text:'ECU for issues 70-71 (f.rate)',value:'931'},{text:'ECU for issues after 1971 (f.rate)',value:'929'},{text:'EML',value:'EML'},{text:'EURO(ATS)',value:'=AS'},{text:'EURO(ATS) (B)',value:'EAS'},{text:'EURO(BEF)',value:'=BF'},{text:'EURO(BEF) (B)',value:'EBF'},{text:'EURO(DEM)',value:'=DM'},{text:'EURO(DEM) (B)',value:'EDM'},{text:'EURO(ESP)',value:'=ES'},{text:'EURO(ESP) (B)',value:'EES'},{text:'EURO(FIM)',value:'=FM'},{text:'EURO(FIM) (B)',value:'EFM'},{text:'EURO(FRF)',value:'=FR'},{text:'EURO(FRF) (B)',value:'EFR'},{text:'EURO(GRD)',value:'=GD'},{text:'EURO(GRD) (B)',value:'EGD'},{text:'EURO(IEP)',value:'=IP'},{text:'EURO(IEP) (B)',value:'EIP'},{text:'EURO(ITL)',value:'=IL'},{text:'EURO(ITL) (B)',value:'EIL'},{text:'EURO(LUF)',value:'=LF'},{text:'EURO(LUF) (B)',value:'ELF'},{text:'EURO(NLG)',value:'=DG'},{text:'EURO(NLG) (B)',value:'EDG'},{text:'EURO(PTE)',value:'=PE'},{text:'EURO(PTE) (B)',value:'EPE'},{text:'EURO(SIT)',value:'=ST'},{text:'EURO(SIT) (B)',value:'EST'},{text:'EURO(SKK)',value:'=SK'},{text:'EURO(SKK) (B)',value:'ESK'},{text:'EURO(XEU)',value:'=EC'},{text:'EURO(XEU) (B)',value:'EEC'},{text:'EUROPEAN COMPOSITE UNIT',value:'ECR'},{text:'East Caribbean Dollar',value:'XCD'},{text:'Ecuador Sucre',value:'ECS'},{text:'Ecuador Unidad de Valor Constante (UVC)',value:'ECV'},{text:'Egyptian Pound',value:'EGP'},{text:'Egyptian Pound (old)',value:'296'},{text:'Ekwele',value:'EQE'},{text:'Ekwele',value:'GQE'},{text:'Ekwele (old)',value:'427'},{text:'El Salvador Colon',value:'SVC'},{text:'Ethiopian Birr',value:'ETB'},{text:'Eurco',value:'342'},{text:'Euro',value:'EUR'},{text:'Euro (f.rate)',value:'925'},{text:'Euro Cent',value:'EUr'},{text:'Europ.Unit Account 1.73-12.77 (f.rate)',value:'936'},{text:'Europ.Unit Account 2.63-8.71 (f.rate)',value:'917'},{text:'Europ.Unit Account after 1.78 (f.rate)',value:'987'},{text:'Europ.Unit Account after 1.79 (f.rate)',value:'940'},{text:'Europ.Unit Account till 1.63 (f.rate)',value:'935'},{text:'European Composite Unit (EURCO)',value:'XBA'},{text:'European Currency Unit (Alt for XEU)',value:'ECU'},{text:'European Currency Unit (E.C.U)',value:'XEU'},{text:'European Monetary Unit (E.M.U.-6)',value:'XBB'},{text:'European Unit Account',value:'EUA'},{text:'European Unit of Account 17 (E.U.A.-17)',value:'XBD'},{text:'European Unit of Account 9 (E.U.A.-9)',value:'XBC'},{text:'FAEROE IS. KRONE (*)',value:'FIS'},{text:'FOREIGN CURRENCY',value:'FCY'},{text:'FR. GUIANA FRANC (*)',value:'FGS'},{text:'Falkland Islands Pound',value:'FKP'},{text:'Fiji Dollar',value:'FJD'},{text:'Financial Franc',value:'LUL'},{text:'Financial Franc',value:'BEL'},{text:'Financial Rand',value:'ZAL'},{text:'Financial Rand (old)',value:'21'},{text:'Forint',value:'HUF'},{text:'Franc Congolais',value:'CDF'},{text:'Franc Congolais',value:'245'},{text:'French Franc (pre-euro)',value:'FRF'},{text:'GREENLAND KRONE (*)',value:'GKS'},{text:'GUADELOUPE FRANC (*)',value:'GFS'},{text:'GUERNSEY (*)',value:'GGP'},{text:'Georgian Coupon',value:'GEK'},{text:'Ghana Cedi',value:'GHS'},{text:'Gibraltar Pound',value:'GIP'},{text:'Gold',value:'XAU'},{text:'Gold Franc (f.rate)',value:'989'},{text:'Gold Franc (old)',value:'982'},{text:'Gold Pound Sterling (f.rate)',value:'905'},{text:'Gold-Franc',value:'XFO'},{text:'Goldmark (f.rate)',value:'50'},{text:'Goldmark (old)',value:'53'},{text:'Gourde',value:'HTG'},{text:'Grivnya (old)',value:'805'},{text:'Guarani',value:'PYG'},{text:'Guinea Bissau Peso',value:'GBS'},{text:'Guinea Escudo',value:'GWE'},{text:'Guinea Escudo (old)',value:'433'},{text:'Guinea Franc',value:'GNF'},{text:'Guinea-Bissau Peso',value:'GWP'},{text:'Guyana Dollar',value:'GYD'},{text:'Hong Kong Cents',value:'HKc'},{text:'Hong Kong Dollar',value:'HKD'},{text:'Hryvnia',value:'UAH'},{text:'Hungarian Crown (old)',value:'480'},{text:'Hungarian Pingeous (old)',value:'476'},{text:'IRAQI DINAR',value:'DNR'},{text:'ISLE OF MAN (B)',value:'IMP'},{text:'Iceland Krona',value:'ISK'},{text:'Indian Rupee',value:'INR'},{text:'Inti',value:'PEI'},{text:'Inti (old)',value:'745'},{text:'Iranian Rial',value:'IRR'},{text:'Iraqi Dinar',value:'IQD'},{text:'Iridium (B)',value:'XRI'},{text:'Irish Pence',value:'IEp'},{text:'Irish Pound (pre-euro)',value:'IEP'},{text:'Islamic Dinar ',value:'IDN'},{text:'Israel New Agorot',value:'ILs'},{text:'Israeli Agora',value:'ILa'},{text:'Israeli shekel basket',value:'SAL'},{text:'Italian Lira (pre-euro)',value:'ITL'},{text:'JERSEY (*)',value:'JEP'},{text:'JORDANIAN DINAR',value:'JRD'},{text:'Jamaican Dollar',value:'JMD'},{text:'Japan Yen(000?s)',value:'JPX'},{text:'Jordanian Dinar',value:'JOD'},{text:'KIRIBATI DOLLAR (*)',value:'KBS'},{text:'KUWAITI SUBCURRENCY',value:'KWd'},{text:'Karbovanet',value:'UAK'},{text:'Kenyan Shilling',value:'KES'},{text:'Kina',value:'PGK'},{text:'Kip',value:'LAK'},{text:'Kip Pot Pol',value:'LAJ'},{text:'Kip Pot Pol (old)',value:'13'},{text:'Koruna',value:'CSK'},{text:'Krona A/53',value:'CSJ'},{text:'Krona A/53 (old)',value:'8'},{text:'Kroon',value:'EEK'},{text:'Kuwaiti  Fils',value:'KWf'},{text:'Kuwaiti  Fils',value:'KWX'},{text:'Kuwaiti Dinar',value:'KWD'},{text:'Kwacha',value:'ZMK'},{text:'Kwacha',value:'MWK'},{text:'Kwanza',value:'AOK'},{text:'Kwanza',value:'AOA'},{text:'Kwanza (old)',value:'31'},{text:'Kwanza Reajustado',value:'AOR'},{text:'Kyat (old)',value:'138'},{text:'LATVIAN LATS',value:'LAT'},{text:'LITHUANIAN LITAS',value:'LIT'},{text:'LOCAL CURRENCY',value:'LCL'},{text:'Lari',value:'GEL'},{text:'Lari (old)',value:'981'},{text:'Latvian Lats',value:'LVL'},{text:'Latvian Ruble',value:'LVR'},{text:'Latvian Ruble (old)',value:'429'},{text:'Lead (B)',value:'XPB'},{text:'Lebanese Pound',value:'LBP'},{text:'Lek',value:'ALL'},{text:'Lempira',value:'HNL'},{text:'Leone',value:'SLL'},{text:'Leu',value:'ROL'},{text:'Leu A/52',value:'ROK'},{text:'Leu A/52 (old)',value:'19'},{text:'Lev',value:'BGL'},{text:'Lev (old)',value:'161'},{text:'Lev A/52 (old)',value:'6'},{text:'Lev A/62 (old)',value:'5'},{text:'LevA/52',value:'BGJ'},{text:'LevA/62',value:'BGK'},{text:'Liberian Dollar',value:'LRD'},{text:'Libyan Dinar',value:'LYD'},{text:'Lilangeni',value:'SZL'},{text:'Lithuanian Litus',value:'LTL'},{text:'Loti',value:'LSL'},{text:'Luxembourg Franc',value:'577'},{text:'Luxembourg Franc (pre-euro)',value:'LUF'},{text:'MARTINIQUE FRANC (*)',value:'MFS'},{text:'MEXICAN OVERNIGHT',value:'MXO'},{text:'MOROCCAN DIRHAM',value:'DHM'},{text:'MULTINATIONAL',value:'MN1'},{text:'Madagascar Ariary',value:'MGA'},{text:'Malagasy Franc',value:'MGF'},{text:'Malawi Tambala',value:'MWk'},{text:'Malaysian Ringgit',value:'MYR'},{text:'Malaysian Sen',value:'MYr'},{text:'Maldive Rupee',value:'MVQ'},{text:'Maldive Rupee (old)',value:'14'},{text:'Mali Franc',value:'MAF'},{text:'Mali Franc',value:'MLF'},{text:'Mali Franc (old)',value:'596'},{text:'Maloti',value:'LSM'},{text:'Maloti (old)',value:'12'},{text:'Maltese Lira(old)',value:'MTL'},{text:'Maltese Pound',value:'MTP'},{text:'Maltese Pound (old)',value:'17'},{text:'Manat',value:'TMM'},{text:'Mark der DDR',value:'DDM'},{text:'Mark of the GDR (old)',value:'54'},{text:'Markka (pre-euro)',value:'FIM'},{text:'Mauritius Rupee',value:'MUR'},{text:'Metical',value:'MZM'},{text:'Mexican Peso',value:'MXP'},{text:'Mexican Peso',value:'MXN'},{text:'Mexican Peso (old)',value:'628'},{text:'Mexican Udidades',value:'UDI'},{text:'Mexican Unidad de Inversion (UDI)',value:'MXV'},{text:'Moldovan Leu',value:'MDL'},{text:'Moroccan Dirham',value:'MAD'},{text:'Moroccan Franc (old)',value:'612'},{text:'Mozambique Escudo',value:'MZE'},{text:'Mozambique Escudo (old)',value:'18'},{text:'Mozambique Metical',value:'MZN'},{text:'Multi-National',value:'M1'},{text:'Mvdol',value:'BOV'},{text:'Mvdol (old)',value:'815'},{text:'Myanmar Kyat',value:'MMK'},{text:'N.A.',value:'BUK'},{text:'NAURU IS. DOLLAR (*)',value:'NIS'},{text:'NEW IRAQI DINAR',value:'NID'},{text:'NEW ROMANIAN LEU',value:'RON'},{text:'NEW SERBIAN DINAR',value:'RSD'},{text:'Naira',value:'NGN'},{text:'Nakfa',value:'ERN'},{text:'Nakfa (old)',value:'341'},{text:'Namibia Cent',value:'NAd'},{text:'Namibia Dollar',value:'NAD'},{text:'Nepalese Rupee',value:'NPR'},{text:'Netherlands Antillian Guilder',value:'ANG'},{text:'Netherlands Guilder (pre-euro)',value:'NLG'},{text:'New Azerbaijani Manat ',value:'AYM'},{text:'New Cruzado',value:'BRN'},{text:'New Cruzado (old)',value:'149'},{text:'New Dinar (old)',value:'891'},{text:'New Israeli Shekel (Inflation-adjusted) ',value:'ILI'},{text:'New Israeli Sheqel',value:'ILS'},{text:'New Kwanza',value:'AON'},{text:'New Kwanza (old)',value:'62'},{text:'New Taiwan Dollar',value:'TWD'},{text:'New Turkish Lira',value:'TRY'},{text:'New Turkish Lira (Inflation-adjusted) ',value:'TRZ'},{text:'New Turkmenistan Manat',value:'TMT'},{text:'New Yugoslavian Dinar',value:'YUD'},{text:'New Yugoslavian Dinar (old)',value:'33'},{text:'New Zaire',value:'ZRN'},{text:'New Zaire',value:'ZRZ'},{text:'New Zealand Dollar',value:'NZD'},{text:'New Zealand cents',value:'NZc'},{text:'New Zimbabwe Dollar',value:'ZWN'},{text:'Ngultrum',value:'BTN'},{text:'Nicaraguan Cordoba',value:'NIO'},{text:'Nickel (B)',value:'XNI'},{text:'Non-Currency',value:'910'},{text:'North Korean Won',value:'KPW'},{text:'Norwegian Crown (f.rate)',value:'947'},{text:'Norwegian Krone',value:'NOK'},{text:'Not Provided By Vendor',value:'NPV'},{text:'Nuevo Sol',value:'PEN'},{text:'OMANI RIAL',value:'OMA'},{text:'OSTMARKS',value:'OSM'},{text:'Old Congolese Franc (old)',value:'240'},{text:'Old Dong',value:'VNC'},{text:'Old Dong (old)',value:'30'},{text:'Old French Franc',value:'955'},{text:'Old French Franc (old)',value:'374'},{text:'Old Gold Franc (f.rate)',value:'985'},{text:'Old Krona',value:'ISJ'},{text:'Old Krona (old)',value:'10'},{text:'Old Lek',value:'ALK'},{text:'Old Lek (old)',value:'2'},{text:'Old Mark (old)',value:'52'},{text:'Old Romanian Gold Lei (old)',value:'957'},{text:'Old Shekel',value:'ILR'},{text:'Old Shekel (old)',value:'518'},{text:'Old Shilling',value:'UGW'},{text:'Old Shilling (old)',value:'27'},{text:'Old Urugay Peso',value:'UYN'},{text:'Old Uruguay Peso (old)',value:'29'},{text:'Ouguiya',value:'MRO'},{text:'Ounce of fine gold/USD',value:'992'},{text:'PARAGUAN GUARANI',value:'PAG'},{text:'PITCAIRN IS DOLLAR (*)',value:'PIS'},{text:'POLISH ZLOTY',value:'POL'},{text:'PSterling 8.72 fx vs DEM7.70',value:'918'},{text:'PSterling fx vs CHF',value:'906'},{text:'Pakistan Rupee',value:'PKR'},{text:'Palladium',value:'XPD'},{text:'Pataca',value:'MOP'},{text:'Peoples Bank Dollar',value:'CNX'},{text:'Peoples Bank Dollar (old)',value:'7'},{text:'Percent',value:'PCT'},{text:'Peruvian Sol (defunct)',value:'PYS'},{text:'Peso',value:'ARY'},{text:'Peso',value:'142'},{text:'Peso',value:'BOP'},{text:'Peso (old)',value:'4'},{text:'Peso Argentino',value:'ARP'},{text:'Peso Argentino (old)',value:'82'},{text:'Peso Uruguayo',value:'UYU'},{text:'Philippine Peso',value:'PHP'},{text:'Platinum (B)',value:'XPT'},{text:'Portuguese Escudo (pre-euro)',value:'PTE'},{text:'Pound',value:'ILP'},{text:'Pound (old)',value:'517'},{text:'Pound Sterling',value:'GBP'},{text:'Pound Sterling (f.rate)',value:'902'},{text:'Pound f.Issues bevor deval. 67 (f.rate)',value:'923'},{text:'Pound f.issues after deval. 67 (f.rate)',value:'988'},{text:'Pound for issues after 1970 (f.rate)',value:'934'},{text:'Pula',value:'BWP'},{text:'Qatari Dirham',value:'QAX'},{text:'Qatari Dirham',value:'QAd'},{text:'Qatari Rial',value:'QAR'},{text:'Quetzal',value:'GTQ'},{text:'REUNION FRANC (*)',value:'RFS'},{text:'RINET Funds Code',value:'XRE'},{text:'RMK fx vs DM.098',value:'951'},{text:'ROMANIAN LEU',value:'LEI'},{text:'RUSSIAN ROUBLE',value:'RUP'},{text:'Radium (B)',value:'XRA'},{text:'Rand',value:'ZAR'},{text:'Reichsmark (old)',value:'51'},{text:'Reichsmark, Rentenmark (f.rate)',value:'48'},{text:'Rhodesian Dollar',value:'ZWC'},{text:'Rhodesian Dollar',value:'RHD'},{text:'Rhodesian Dollar (old)',value:'25'},{text:'Rhodesian Dollar (old)',value:'15'},{text:'Rhodium (B)',value:'XRH'},{text:'Rial Omani',value:'OMR'},{text:'Riel',value:'KHR'},{text:'Romanian Bani',value:'ROb'},{text:'Romanian Leu (Inflation-adjusted) ',value:'ROI'},{text:'Rouble',value:'SUR'},{text:'Rufiyaa',value:'MVR'},{text:'Rupiah',value:'IDR'},{text:'Russian Ruble',value:'RUR'},{text:'Russian Ruble (Inflation-adjusted) ',value:'RUI'},{text:'Russian Ruble (old)',value:'RUB'},{text:'Ruthenium (B)',value:'XRU'},{text:'Rwanda Franc',value:'RWF'},{text:'SAN MARINO LIRA (*)',value:'SMS'},{text:'SDR',value:'XDR'},{text:'SEBORGA LUIGINI',value:'SPL'},{text:'SLOVENIAN TOLAR',value:'SLT'},{text:'SOUTH AFRICAN RANDS',value:'RND'},{text:'SUDANESE DINAR',value:'SCC'},{text:'SUPRANATIONAL',value:'SN1'},{text:'SWAZILAND LILANGENI (*)',value:'SZS'},{text:'SWISS CENTIMES',value:'CHf'},{text:'SYRIAN POUND',value:'SAP'},{text:'Saint Helena Pound',value:'SHP'},{text:'Saudi Arabian Halalah',value:'SAh'},{text:'Saudi Arabian Halalah',value:'SAX'},{text:'Saudi Riyal',value:'SAR'},{text:'Schilling (pre-euro)',value:'ATS'},{text:'Scottish Pound',value:'SCB'},{text:'Serbian Dinar',value:'CSD'},{text:'Serbian Dinar (Inflation-adjusted) ',value:'CSI'},{text:'Seychelles Rupee',value:'SCR'},{text:'Silver (B)',value:'XAG'},{text:'Singapore Cent',value:'SGd'},{text:'Singapore Dollar',value:'SGD'},{text:'Slovak Koruna(inactive frm 01.01.2009)',value:'SKK'},{text:'Sol',value:'PES'},{text:'Sol',value:'PEH'},{text:'Sol (old)',value:'744'},{text:'Solomon Islands Dollar',value:'SBD'},{text:'Som',value:'KGS'},{text:'Somali Shilling',value:'SOS'},{text:'Somoni',value:'TJS'},{text:'Somoni (old)',value:'696'},{text:'South African Cent',value:'ZAX'},{text:'South African Cent',value:'ZAr'},{text:'Spanish Peseta ('A' Account)',value:'ESA'},{text:'Spanish Peseta (convertible Peseta Accou',value:'ESB'},{text:'Spanish Peseta (pre-euro)',value:'ESP'},{text:'Spanish Peseta A (old)',value:'308'},{text:'Special Convertible Belgian Franc',value:'BES'},{text:'Special Drawing Righ (B)',value:'SDR'},{text:'Special Drawing Rights (SDR)',value:'946'},{text:'Special Foreign Belgian Franc',value:'BEE'},{text:'Sri Lanka Rupee',value:'LKR'},{text:'Sudanese Dinar(old)',value:'SDD'},{text:'Sudanese Pound',value:'SDP'},{text:'Sudanese Pound',value:'SDG'},{text:'Sudanese Pound (old)',value:'858'},{text:'Supranational',value:'S1'},{text:'Surinam Dollar',value:'SRD'},{text:'Suriname Guilder',value:'SRG'},{text:'Swaziland Cent',value:'SZl'},{text:'Swedish Krona',value:'SEK'},{text:'Swiss Franc',value:'CHF'},{text:'Syli',value:'GNS'},{text:'Syli',value:'GNE'},{text:'Syli (old)',value:'424'},{text:'Syrian Pound',value:'SYP'},{text:'THAI BAHT ONSHORE SP (*)',value:'THO'},{text:'TRINIDAD & TOBAGO DOLLAR',value:'TT$'},{text:'TUVALU',value:'TVD'},{text:'TUVALU DOLLAR (*)',value:'TVS'},{text:'Tajikistan Ruble',value:'TJR'},{text:'Tajikstanian Rouble',value:'TUR'},{text:'Taka',value:'BDT'},{text:'Tala',value:'WST'},{text:'Talonas',value:'LTT'},{text:'Talonas (old)',value:'930'},{text:'Tanzanian Shilling',value:'TZS'},{text:'Tenge',value:'KZT'},{text:'Thai Baht offshore ',value:'TOF'},{text:'Timor Escudo',value:'TPE'},{text:'Tin (B)',value:'XSN'},{text:'Tolar(old)',value:'SIT'},{text:'Tonga Pa'anga (B)',value:'TOP'},{text:'Trinidad and Tobago Dollar',value:'TTD'},{text:'Tugrik',value:'MNT'},{text:'Tunisian Dinar',value:'TND'},{text:'Turkish Kurus',value:'TRk'},{text:'Turkish Lira',value:'TRL'},{text:'Turkish Lira in 000s',value:'TRX'},{text:'UAE Dirham',value:'AED'},{text:'UAE Fils',value:'AEf'},{text:'UAE Fils',value:'AEX'},{text:'UIC-Franc',value:'XFU'},{text:'US Dollar',value:'USD'},{text:'US Dollar (Next day)',value:'USN'},{text:'US Dollar (Same day)',value:'USS'},{text:'USD fx vs CH1.97',value:'909'},{text:'USD fx vs CHF/ZSE',value:'903'},{text:'Uganda Shilling',value:'UGX'},{text:'Uganda Shilling',value:'UGS'},{text:'Uganda Shilling (old)',value:'26'},{text:'Ukrainian Hryvnia ',value:'UHR'},{text:'Ukrainian Hryvnia (Inflation-adjusted) ',value:'UAI'},{text:'Unidad de Inversion (old)',value:'813'},{text:'Unidad de Valor Real Constante',value:'UVR'},{text:'Unidade de Fomento',value:'UF'},{text:'Unidades de fomento',value:'CLF'},{text:'United Kingdom Pence',value:'GBp'},{text:'United Kingdom Pence',value:'GBX'},{text:'United State of America Cent',value:'USd'},{text:'Uruguay Peso ',value:'UYI'},{text:'Uruguayan Peso',value:'UYP'},{text:'Uruguayan Peso (old)',value:'948'},{text:'Uzbekistan Sum',value:'UZS'},{text:'VATICAN CITY LIRA (*)',value:'VCS'},{text:'VENEZUELAN BOLIVAR',value:'VBS'},{text:'Various Currencies',value:'911'},{text:'Vatu',value:'VUV'},{text:'West Indian Dollar',value:'WID'},{text:'Won',value:'KRW'},{text:'Yemeni Dinar',value:'YDD'},{text:'Yemeni Dinar (old)',value:'974'},{text:'Yemeni Rial',value:'YER'},{text:'Yen',value:'JPY'},{text:'Yen (f.rate)',value:'926'},{text:'Yuan Renminbi',value:'CNY'},{text:'Yugoslavian Dinar',value:'YUN'},{text:'Yugoslavian Dinar',value:'YUM'},{text:'ZAMBIAN KWACHA',value:'KWA'},{text:'ZWF',value:'ZWF'},{text:'Zaire (old)',value:'242'},{text:'Zaire Belgian Franc',value:'BEZ'},{text:'Zambia Ngwee',value:'ZMk'},{text:'Zimbabwe Cent',value:'ZWd'},{text:'Zimbabwe Dollar',value:'ZWR'},{text:'Zimbabwe Dollar (Inflation Adjusted) ',value:'ZWI'},{text:'Zimbabwe Dollar notional ',value:'ZDN'},{text:'Zimbabwe Dollar(old)',value:'ZWD'},{text:'Zinc (B)',value:'XZI'},{text:'Zloty',value:'PLZ'},{text:'Zloty',value:'PLN'},{text:'Zloty (old)',value:'752'}]}
    Also attached is the screen-shot.

    When expanded, the drop-down briefly displays 'Fetching list...' (i.e. the loadingText) and the list collapses.
    Attached Images

  6. #6
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    94
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Your JSON data is invalid:
    Code:
    text:'Spanish Peseta ('A' Account)'

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,507
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    So it looks like you are "manually" creating that JSON instead of using a library. No point in doing that.

  8. #8
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    Thanks Condor and Animal.

    Which libraries are available for creating JSON strings? I am not aware of such a library.

  9. #9
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    94
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You can find an (incomplete) list here.

    Which application server are you using? Maybe we can recommend a library.

  10. #10
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    We use Tomcat for development.

    Our QA environment includes JBoss, Weblogic and WebSphere.

Thread Participants: 3