Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8575821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:46:54+00:00 2026-06-11T19:46:54+00:00

I have an ExtJs combobox. Its store loaded using JSON (using my store). I

  • 0

I have an ExtJs combobox. Its store loaded using JSON (using my store). I want to load all the values to the store, and then filter them with the text entered in the combo’s textfield.

I don’t want my combo to reload its store every time I type something. How can I do that?
And other thing that then I try to select element from combobox first time it’s reload data from server.
PS: listener in my store for select first element of data from server.
Thanks.

Here’s my store class :

Ext.define('KP.store.account.street', {
    extend: 'Ext.data.Store',
    model: 'KP.model.account.combo',
    autoLoad: true,

    proxy: {
        type: 'ajax',

        api: {

            read: '/account/combostreetdata'
        },
        reader: {
            type: 'json',
            root: 'combolist',
            successProperty: 'success',
            totalProperty: 'total'
        }
    },

    listeners: {
        'load': function (street_list) {
            var street_combo = Ext.getCmp('street');
            street_combo.select(street_list.getAt(0));
        }
    }
});

My view:

{
    id: 'street',
    xtype: 'combobox',
    width: 700,
    name: 'street',
    editable: true, 
    mode: 'local', 
    typeAhead: true, 
    emptyText: '?????',
    fieldLabel: '???',
    labelWidth: 120,
    size: 72,
    x: 20,
    y: 180,

    displayField: 'string_value',
    valueField: 'long_key',
    store: street_list
},
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:46:55+00:00Added an answer on June 11, 2026 at 7:46 pm

    You have a ComboBox config error.

    Not mode: 'local', but queryMode: 'local',.

    I use such a fields in my combos:

    queryMode: 'local',
    forceSelection: true,
    

    Typeahead works fine, no data loads during typeahead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ExtJs combobox. Its store loaded using JSON (using MyStore class below).
I have an ExtJS combobox with a remote data store behind it. In all
I have an ExtJS combobox, which is a required field, but I don't want
I have ExtJS Grid. And I am using Roweditor plugin with combobox. When I
I am using extjs combobox for a sex field. It have two value M
I am using ExtJS 3.4 . I have a structure with data for combobox
I'm a newbie using Extjs 4.07. I have created a combobox (remote) queryMode. The
Using EXTJS v4, I want to update the VALUE field of a multi-select combobox
i have json : {total:100, category: [Village, City, School, HighSchool]} for extjs combobox :
I have an extjs component in its raw object type, for example: var x

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.