Results 1 to 1 of 1

Thread: Reg Combo Box Population

  1. #1

    Default Reg Combo Box Population

    Hi,

    I have a combo box which is populated from the database, it works fine in Mozilla but doesnt pop up in IE 8, It is showing loding corcle and just disappearing.

    here is my code:

    This is code of the store i defined:


    var
    supplier_combo_store =new Ext.data.Store({

    id : 'supp_combo_data_store_id',
    proxy : new Ext.data.HttpProxy(
    {



    url : 'find_supp.xsql',



    method : 'POST'



    }



    ),



    reader :new Ext.data.XmlReader({



    root : 'ROWSET',



    record : 'ROW',



    id : 'SUP_ID'



    },



    [
    {name:'SUP_ID', type:'int', mapping:'SUP_ID'},



    {name:'SUP_NAME', type: 'string',mapping:'SUP_NAME'},



    ]



    )



    });


    supplier_combo_store.load();

    Here is code for my combo box:



    var


    sup_name =new Ext.form.ComboBox({

    id :'sup_combo_id',

    editable :false,




    allowBlank :false,



    fieldLabel :'Supplier',



    store : supplier_combo_store,



    valueField :'SUP_ID',



    mode :'remote',



    displayField :'SUP_NAME',



    width :135,



    triggerAction:'all',



    emptyText :'Select Supplier'



    });
    Last edited by mystix; 8 Aug 2009 at 7:55 PM. Reason: moved to 3.x Help from Open Discussion

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •