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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:41:33+00:00 2026-06-17T01:41:33+00:00

I have a problem with ExtJs combobox , consider I have a combobox that

  • 0

I have a problem with ExtJs combobox, consider I have a combobox that has 4 items and a callback function in select event on combobox.

When I’m going to set the combobox selected value with setValue(), ExtJs don’t fire select event.

How can I fix this problem?

Should I fire this event after setValue() by myself?

  • 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-17T01:41:34+00:00Added an answer on June 17, 2026 at 1:41 am

    I can tell you what the sencha support told for that one year ago:

    Well, event is, by definition, a function call triggered by a user
    action and there’s no user action when you call select.

    Anyway, the “fix” is easy: you know that you call select so just after
    calling select you can call your select listener function.

    It depends on your case what you should do. For me I hanged my implementation so that I was able to call re responsible method but on the other hand I don’t see any downside when you fire the event yourself. So I think it is up to you which approach you like more.

    Here is a example how you can fire the event by yourself (partly from the comment by @JohanHaest)

    To make it simple I say you have only single selection enabled

    var record = combo.store.getById(id);
    combo.select(id);
    combo.fireEvent('select', combo, record);
    

    or

    combo.select(model);
    combo.fireEvent('select', combo, model);
    

    There is a possible Hack in the current release (4.1.3) when setting a second argument on the select method to true. This will, according to the sourcecode, fire the select event. But the First argument has to be a Model instance.

    // source-snipped
    select: function(r, /* private */ assert)
    

    So calling

    combo.select(model, true);
    

    will fire the select event but this behavior may change at any time (version) cause the assert is marked as private

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

Sidebar

Related Questions

I have an ExtJS grid that has a button set up in it. The
Brainstorming needed . I have a problem with Javascript libraries (jQuery, ExtJS etc.) that
I have a problem with a Ext.Grid.EditorGridPanel, I am currently using ExtJS 2.3.0, that
I have a problem with submiting ExtJs form. I can't get a success function.
I have used EXTJS for grid display and for pagination also.My problem is that
I have problem while loading data into html select when users press or click
I have yet another problem with extjs. When I build treeview I can't get
I'm using extjs and just trying to solve a simple problem: I have a
I have Problem with Store in ExtJS 4. In my application I want to
Im learning Extjs and have a problem , when i try to append new

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.