Results 1 to 4 of 4

Thread: loading more than 2100 records in combo box

  1. #1

    Question loading more than 2100 records in combo box

    hello every one!
    i want to know is there any record limit in combo box or in store because i am populating my combo from a PHP file. it is loading successfully but when records exceeds 2085 it doesn't load combo box. if i add limit in my query to return me maximum 2085 record then it loads the combo success fully.

  2. #2

    Default

    there is not any solution for this?

  3. #3
    Sencha User dlbjr's Avatar
    Join Date
    Oct 2007
    Location
    Cache, OK USA
    Posts
    281

    Default I have over 2400 working fine.

    I have some with over 2,400 working fine. I have a combobox with over 2400 employee names listed in it and it works fine. I pre load the store when the app is first loaded. Then when any form is opened requiring the data for a combobox, it is already cached to the client and loads instantly. This also reduces the calls to the server because the data is loaded once and used many times. I also have a scheduled job on the server that hits the database once an hour and precreates the json string on the server to be called by the client.

    Code:
     
    var cb_Owner = new Ext.form.ComboBox({
         store: ds_Assoc,
         mode: 'local',
         displayField: 'assoc',
         valueField: 'ao',
         triggerAction: 'all',
         fieldLabel: 'Assigned To',
         name: 'assignedto',
         width: 325,
         typeAhead: true,
         selectOnFocus: true,
         forceSelection: true,
         disabled: false
    });
    
    dlbjr - David L. Bryant Jr.

    Owner of
    dlbjr Technology Consulting
    Web2 System Developer & Consultant
    Focused on C.I. - Six Sigma - Shingo - Lean Technologies
    [email protected]

    Owner of:
    Attractive Graphics - "custom screen printing"
    [email protected]

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    First of all, what is the use of a 2000 element list?

    Why not use server-side paging?

Posting Permissions

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