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 553579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:37:12+00:00 2026-05-13T11:37:12+00:00

I have a ComboBox with a remote json store. It lets the user type

  • 0

I have a ComboBox with a remote json store.

It lets the user type in 3+ characters, then queries, displays list and lets user select one option. When the user selects an option, it uses the Ext.data.Record associated to the selected option to populate other fields elsewhere in the form. This works correctly.

Now I want to be able to pre-populate the said fields, by using the functions that I’ve already written as part of the combo box. What I have come up with, is to add an “artificial record” to the ComboBox’s store, and then force its selection – which would trigger all the right functions and populate the other fields etc..

What I have is this function inside of the ComboBox (I’ve created a custom one by extending ComboBox):

loadRecord : function( record ){
    var data = {
        "results":1,
        "rows":[
            record
        ]
    }

    this.store.loadData( data ); // I realize I could just use store.add() instead.

    alert( this.store.getCount() ); // returns 1, so the record is in

    // Here is where I'd need to make a call to select this record.
}

I’ve tried this.select() and this.selectByValue() but to no avail. Knowing the record is in the store, what is the right way to select it from code?

Thank you in advance.

  • 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-05-13T11:37:12+00:00Added an answer on May 13, 2026 at 11:37 am

    did you try combo.fireEvent('click', combo, record, index) ?

    • 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 ComboBox . When I click on item from expanded list, ComboBox select
I have an ExtJS combobox with a remote data store behind it. In all
Hi i have a formpanel with remote combobox, the store is jsonstore and is
I have a combobox in winforms, which, depending on what you select, determines what's
I'm a newbie using Extjs 4.07. I have created a combobox (remote) queryMode. The
I have two combobox in my form, using a mysql connection to a remote
I have combobox: <select name=studstatus> <option></option> <option>flunked</option> <option >abiturient</option> <option >bachelor</option> <option >magistrant</option> <option>aspirant</option>
I have a combobox on my form that is bound to a generic list
I have an autocomplete combobox that creates a new select box based upon the

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.